expose impl schema macros #159
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: test | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: {} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
run-test: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v1 | |
- run: cargo install just | |
# There is some kind of breakage in Rust, related to `ld` (GNU linker), that breaks the build on Github Actions. | |
# It appears to primarily impact macro crates, as that's when the compilation fails here, | |
# and the Github issue also mentions it failing in a macro crate. | |
# See: | |
# https://github.com/rust-lang/rust/issues/113104 | |
# https://github.com/rust-lang/rust/issues/111888 | |
# Use `lld` (Clang linker) until issue is fixed | |
- run: RUSTFLAGS="-Clinker=clang -Clink-arg=-fuse-ld=lld" just test |