2024-08-01 02:07:52 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- "*"
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
|
2024-09-16 09:50:20 +00:00
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
2024-08-01 02:07:52 +00:00
|
|
|
jobs:
|
2024-12-13 04:31:28 +00:00
|
|
|
simlib:
|
2024-08-01 02:07:52 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: true
|
2024-09-16 09:50:20 +00:00
|
|
|
- name: Build
|
2024-12-03 11:39:46 +00:00
|
|
|
working-directory: simlib
|
2024-09-16 09:50:20 +00:00
|
|
|
run: cargo build -v
|
2024-12-03 11:39:46 +00:00
|
|
|
# TODO: uncomment this after fixing tests
|
|
|
|
# - name: Unit tests
|
|
|
|
# working-directory: simlib
|
|
|
|
# run: cargo test -v
|