Using github actions to rewrite: WinCI #21
Workflow file for this run
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: develop | |
on: | |
pull_request: | |
push: | |
jobs: | |
linux-x86: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dep | |
run: | | |
rustup component add clippy | |
rustup component add rustfmt | |
# https://github.com/EmbarkStudios/cargo-deny-action | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
arguments: --all-features | |
command: check advisories licenses sources bans | |
- name: Run ci-generated | |
run: make ci-generated | |
- name: Run ci | |
run: make ci | |
- name: Run ci-asm | |
run: make ci-asm | |
- name: Run spawn tests in release | |
run: cargo test test_spawn --release --features=asm -- --nocapture | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run ci-asm | |
run: make ci-asm | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dep | |
shell: pwsh | |
# https://github.com/ScoopInstaller/Install#for-admin | |
run: | | |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin" | |
scoop install llvm | |
scoop install yasm | |
$env:path | |
$env:path+=";~\scoop\shims" | |
clang --version | |
yasm --version | |
- name: Run ci-asm | |
run: make ci-asm |