2024-10-07 06:35:41 -06:00

48 lines
1.0 KiB
YAML

name: CI
on:
pull_request:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
linux_build_and_test:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: System information
run: uname -a
- name: Build and test
run: |
./project.sh test all
macos_build_and_test:
runs-on: macos-15
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: System information
run: uname -a
- name: MacOS version
run: sw_vers -productVersion
- name: Install LLVM
run: |
brew list llvm || brew install llvm
- name: Build and test
run: |
./project.sh test all
windows_build_and_test:
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and test
run: |
./project.bat test all