2022-09-29 18:23:30 +00:00
|
|
|
name: Pull Request CI
|
2022-09-29 18:21:23 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
jobs:
|
2022-09-29 18:23:30 +00:00
|
|
|
linux-build:
|
2022-09-29 18:21:23 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-09-29 18:23:30 +00:00
|
|
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
2022-09-29 18:21:23 +00:00
|
|
|
steps:
|
2022-09-29 18:23:30 +00:00
|
|
|
- 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
|