fix CI #178
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-rust | |
on: | |
workflow_dispatch: | |
push: | |
paths: ["**.rs", "**.toml", "**.lock", "**/rust.yml", "meson.build", "rusted/meson.build"] | |
pull_request: | |
paths: ["**.rs", "**.toml", "**.lock", "**/rust.yml", "meson.build", "rusted/meson.build"] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-C target-cpu=native" | |
jobs: | |
build: | |
name: check with latest rust | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
msystem: clang64 | |
pacboy: >- | |
meson | |
rust | |
git: | |
- name: build rust files | |
run: | | |
meson setup -Dbuild_rust=true build | |
meson compile -C build |