1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-08-22 11:25:08 +00:00
qb64/.github/workflows/release.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 83: cannot unmarshal !!map into string
2022-09-06 19:39:47 -05:00

83 lines
No EOL
2.1 KiB
YAML

name: Release CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
linux-build:
runs-on: ubuntu-latest
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: Publish
if: github.event_name == 'push'
run: .ci/deploy.sh lnx
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
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
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
if: always()
with:
name: upload winx64
path: |
qb64/
qb64_development_win-x64*.7z
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
qb64_development_win-x64*.7z
env:
GITHUB_TOKEN: $({ secrets.GITHUB_TOKEN })