From e3df33289ba869954740123729e3ac59fe80b04b Mon Sep 17 00:00:00 2001 From: Cory Smith Date: Thu, 8 Sep 2022 18:26:59 -0500 Subject: [PATCH] made a bit of progress, expanding to mac and windows (still expecting a fail). --- .github/workflows/release.yml | 113 +++++++++++++++++----------------- 1 file changed, 56 insertions(+), 57 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9071ae0b..24fa83182 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,62 +27,61 @@ jobs: name: upload linux ${{ github.run_number }} path: /home/runner/work/qb64/qb64_*.tar.gz - # macos-build: - # runs-on: macos-latest - # if: "!contains(github.event.head_commit.message, 'ci-skip')" - # steps: - # - uses: actions/checkout@v2 - # - name: Bootstrap compiler - # run: .ci/bootstrap.sh osx - # - name: Compile - # run: .ci/compile.sh - # - name: Publish - # if: github.event_name == 'push' - # run: .ci/deploy.sh osx - # - name: Upload - # uses: actions/upload-artifact@v3 - # if: always() - # with: - # name: upload macos - # path: ./qb64*.tar.gz + macos-build: + runs-on: macos-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" + steps: + - uses: actions/checkout@v2 + - name: Bootstrap compiler + run: .ci/bootstrap.sh osx + - name: Compile + run: .ci/compile.sh + - name: Publish + if: github.event_name == 'push' + run: .ci/deploy.sh osx + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: upload macos ${{ github.run_number }} + path: /home/runner/work/qb64/qb64_*.tar.gz - # windows-x86-build: - # runs-on: windows-latest - # if: "!contains(github.event.head_commit.message, 'ci-skip')" - # env: - # PLATFORM: x86 - # steps: - # - uses: actions/checkout@v2 - # - name: Bootstrap compiler - # run: .ci/bootstrap.bat - # - name: Compile - # run: .ci/compile.bat - # - name: Publish - # if: github.event_name == 'push' - # run: .ci/deploy.ps1 - # - name: Upload - # uses: actions/upload-artifact@v3 - # if: always() - # with: - # name: upload winx86 - # path: .\qb64*.7z + windows-x86-build: + runs-on: windows-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" + env: + PLATFORM: x86 + steps: + - uses: actions/checkout@v2 + - name: Bootstrap compiler + run: .ci/bootstrap.bat + - name: Compile + run: .ci/compile.bat + - name: Publish + if: github.event_name == 'push' + run: .ci/deploy.ps1 + - name: Upload + uses: actions/upload-artifact@v3 + if: always() + with: + name: upload winx86 ${{ github.run_number }} + path: ${{ github.workspace }}\qb64_*.7z - # windows-x64-build: - # runs-on: windows-latest - # 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: Publish - # if: github.event_name == 'push' - # run: .ci/deploy.ps1 - # - name: Upload - # uses: actions/upload-artifact@v3 - # with: - # name: upload winx64 - # path: .\qb64_development* + windows-x64-build: + runs-on: windows-latest + 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: Publish + if: github.event_name == 'push' + run: .ci/deploy.ps1 + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: upload winx64 ${{ github.run_number }} + path: ${{ github.workspace }}\qb64_*.7z