Files
awk/.github/workflows/low-priority-targets.yml
2026-05-14 08:45:06 +02:00

52 lines
1.2 KiB
YAML

# spell-checker:ignore wasip
name: low-priotiry-targets
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
# End the current execution if there is a new changeset in the PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
wasi:
name: check wasi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-wasip1
- name: check
run: cargo check --target wasm32-wasip1
windows:
name: check windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: check
run: cargo check
# some unix specific crates might reject windows while it supports this...
cygwin:
name: check cygwin
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: setup toolchain
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
run: pacman -Sy --noconfirm --needed rust
- name: check
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
env:
CHERE_INVOKING: 1
run: cargo check --target x86_64-pc-cygwin