diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index a1b6e40..45f5ba1 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -21,9 +21,25 @@ 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: @@ -31,25 +47,20 @@ jobs: - 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 +