1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 12:40:36 +00:00
QB64-PE/.github/workflows/ci.yml
Matthew Kilgore 7be379c39d Add version calculation and separate label vs. commit
This slightly changes how the versioning works.
2022-04-28 17:19:37 -04:00

73 lines
1.6 KiB
YAML

name: CI
on: [ push, pull_request ]
jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: sudo apt update && sudo apt install libglu1-mesa-dev libncurses-dev
- name: Calculate Version
run: .ci/calculate_version.sh
- name: Bootstrap compiler
run: .ci/bootstrap.sh lnx
- name: Compile
run: .ci/compile.sh
- name: Print QB64 Version
run: ./qb64 -?
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Calculate Version
run: .ci/calculate_version.sh
- name: Bootstrap compiler
run: .ci/bootstrap.sh osx
- name: Compile
run: .ci/compile.sh
- name: Print QB64 Version
run: ./qb64 -?
windows-x86-build:
runs-on: windows-latest
env:
PLATFORM: x86
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Calculate Version
shell: bash
run: .ci/calculate_version.sh
- name: Bootstrap compiler
run: .ci/bootstrap.bat
- name: Compile
run: .ci/compile.bat
- name: Print QB64 Version
run: ./qb64 -?
windows-x64-build:
runs-on: windows-latest
env:
PLATFORM: x64
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Calculate Version
shell: bash
run: .ci/calculate_version.sh
- name: Bootstrap compiler
run: .ci/bootstrap.bat
- name: Compile
run: .ci/compile.bat
- name: Print QB64 Version
run: ./qb64 -?