1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-09 21:15:12 +00:00
QB64-PE/.github/workflows/ci.yml
Matthew Kilgore d928ab2c8b Add basic automated build
This imports the basic logic from the previous build. All it does is
compile a version of QB64 using ./internal/source, and then uses that
QB64 as a 'bootstrap' step to compile `qb64.bas` directly and produce a
proper version of qb64.
2022-04-28 17:15:37 -04:00

48 lines
1,003 B
YAML

name: CI
on: [ push, pull_request ]
jobs:
linux-build:
runs-on: ubuntu-latest
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
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Bootstrap compiler
run: .ci/bootstrap.sh osx
- name: Compile
run: .ci/compile.sh
windows-x86-build:
runs-on: windows-latest
env:
PLATFORM: x86
steps:
- uses: actions/checkout@v2
- name: Bootstrap compiler
run: .ci/bootstrap.bat
- name: Compile
run: .ci/compile.bat
windows-x64-build:
runs-on: windows-latest
env:
PLATFORM: x64
steps:
- uses: actions/checkout@v2
- name: Bootstrap compiler
run: .ci/bootstrap.bat
- name: Compile
run: .ci/compile.bat