Skip to content

Commit

Permalink
changed actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Hex committed Feb 25, 2024
1 parent a111c55 commit c5c5385
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,46 @@ jobs:
with:
clang-format-version: '13'
build:
runs-on:
- macos-13
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: vet
run: go vet ./...
- name: Build Linux
run: make -C example/linux
- name: Build GUI Linux
run: make -C example/gui-linux
test:
needs: formatting-check
runs-on: ${{ matrix.os }}
timeout-minutes: 6
timeout-minutes: 7
strategy:
fail-fast: false
matrix:
os:
- macos-11
- macos-12
- macos-13
- macos-14
# - macos-14 # we cannot use this. see: https://github.com/Code-Hex/vz/issues/109#issuecomment-1962815058
go:
- '^1.21'
- '^1.22'
- '1.21'
- '1.22'
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: vet
run: go vet ./...
- name: Download Linux kernel
run: make download_kernel
- name: Unit Test
run: make test
timeout-minutes: 3
- name: Build Linux
run: make -C example/linux
- name: Build GUI Linux
run: make -C example/gui-linux
timeout-minutes: 5

0 comments on commit c5c5385

Please sign in to comment.