From fc6d7c3a35dad458ed705f813c5dee4ba2a9ceb7 Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Sat, 30 Jan 2021 11:24:31 +1100 Subject: [PATCH] Windows only --- .github/workflows/run.yml | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index ab2ca4062..fb982a3b8 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -7,24 +7,24 @@ on: jobs: linux-build: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'ci-skip')" + if: "contains(github.event.head_commit.message, 'ci-skip')" steps: - uses: actions/checkout@v2 - # - name: Install dependencies - #run: sudo apt update && sudo apt install libglu1-mesa-dev libncurses-dev - #- name: Bootstrap compiler - #run: .ci/bootstrap.sh lnx - #- name: Compile - #run: .ci/compile.sh - #- name: Update source - #if: github.event_name == 'push' - #run: .ci/update-source.sh - #- name: Push to repository - #if: github.event_name == 'push' - #uses: ad-m/github-push-action@19caa5c351f47734055690f7d01aaaef2f9114d5 - #with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # branch: development + - name: Install dependencies + run: sudo apt update && sudo apt install libglu1-mesa-dev libncurses-dev + - name: Bootstrap compiler + run: .ci/bootstrap.sh lnx + - name: Compile + run: .ci/compile.sh + - name: Update source + if: github.event_name == 'push' + run: .ci/update-source.sh + - name: Push to repository + if: github.event_name == 'push' + uses: ad-m/github-push-action@19caa5c351f47734055690f7d01aaaef2f9114d5 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: development - name: Set deployment SSH key if: github.event_name == 'push' uses: shimataro/ssh-key-action@v2.1.0 @@ -90,15 +90,11 @@ jobs: windows-x64-build: runs-on: windows-latest - if: "contains(github.event.head_commit.message, 'ci-skip')" + if: "!contains(github.event.head_commit.message, 'ci-skip')" env: PLATFORM: x64 steps: - uses: actions/checkout@v2 - - name: Bootstrap compiler - run: .ci/bootstrap.bat - - name: Compile - run: .ci/compile.bat - name: Set deployment SSH key if: github.event_name == 'push' uses: shimataro/ssh-key-action@v2.1.0