diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf22934e..bea58c5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: build -on: - push: - branches: +on: + push: + branches: - master pull_request: @@ -12,7 +12,7 @@ jobs: compilation: name: Compilation and Unit Tests runs-on: ${{ matrix.os }} - strategy: + strategy: matrix: include: - os: macos-latest @@ -33,7 +33,7 @@ jobs: inklecate_url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_windows.zip proof: true unreal: false - - os: "ubuntu-20.04" + - os: "ubuntu-22.04" artifact: linux name: Linux x64 inklecate_url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_linux.zip @@ -146,7 +146,7 @@ jobs: mkdir deps/inkcpp cp ../../build/comp_cl/* deps/inkcpp/ chmod +x deps/inkcpp/inkcpp_cl - + # Run it - name: Run Ink Proof if: ${{ matrix.proof }} @@ -230,7 +230,7 @@ jobs: name: Build Python package needs: compilation runs-on: ubuntu-latest - steps: + steps: - uses: actions/checkout@v4 with: submodules: true @@ -251,12 +251,12 @@ jobs: run: python3 -m build - uses: suisei-cn/actions-download-file@v1.6.0 - name: Download Inklecate - id: download_inklecate + name: Download Inklecate + id: download_inklecate with: url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_linux.zip target: "inklecate/" - - name: Deploy Inkelcate + - name: Deploy Inkelcate shell: bash run: | cd inklecate @@ -327,13 +327,13 @@ jobs: echo "Reading results from $f" cat "$f" >> comment.txt done - + # Post Comment - uses: marocchino/sticky-pull-request-comment@v2.9.0 with: recreate: true path: comment.txt - + pages: permissions: contents: write