-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b347e9
commit 30331aa
Showing
5 changed files
with
93 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: CI | ||
permissions: | ||
contents: write | ||
id-token: write | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags-ignore: | ||
- '**' | ||
paths-ignore: | ||
- '**/*.md' | ||
- LICENSE | ||
- '**/*.gitignore' | ||
pull_request: null | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
settings: | ||
- host: macos-latest | ||
target: x86_64-apple-darwin | ||
- host: macos-latest | ||
target: aarch64-apple-darwin | ||
- host: windows-latest | ||
target: x86_64-pc-windows-msvc | ||
- host: windows-latest | ||
target: i686-pc-windows-msvc | ||
- host: windows-latest | ||
target: aarch64-pc-windows-msvc | ||
- host: ubuntu-latest | ||
target: x86_64-unknown-linux-gnu | ||
- host: ubuntu-latest | ||
target: x86_64-unknown-linux-musl | ||
- host: ubuntu-latest | ||
target: aarch64-unknown-linux-gnu | ||
- host: ubuntu-latest | ||
target: armv7-unknown-linux-gnueabihf | ||
- host: ubuntu-latest | ||
target: armv7-unknown-linux-musleabihf | ||
- host: ubuntu-latest | ||
target: aarch64-linux-android | ||
- host: ubuntu-latest | ||
target: armv7-linux-androideabi | ||
- host: ubuntu-latest | ||
target: aarch64-unknown-linux-musl | ||
- host: ubuntu-latest | ||
target: riscv64gc-unknown-linux-gnu | ||
name: ${{ matrix.settings.target }} | ||
runs-on: ${{ matrix.settings.host }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: stable | ||
targets: ${{ matrix.settings.target }} | ||
- name: Cache cargo | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
.cargo-cache | ||
target/ | ||
key: ${{ matrix.settings.target }}-cargo-${{ matrix.settings.host }} | ||
- run: cargo test --all-features |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pub mod lexer; | ||
pub mod fsutil; | ||
pub mod lexer; |