(ast/syntax) fix nested simpleblock parsing #200
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
# mostly copied from https://raw.githubusercontent.com/web-infra-dev/oxc/main/.github/workflows/release_cli.yml | |
name: test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
# - os: windows-latest | |
# target: x86_64-pc-windows-msvc | |
# code-target: win32-x64 | |
- os: ubuntu-latest | |
target: x86_64-unknown-linux-gnu | |
code-target: linux-x64 | |
- os: macos-latest | |
target: x86_64-apple-darwin | |
code-target: darwin-x64 | |
name: Build & Test on ${{ matrix.code-target }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: rustup target add ${{ matrix.target }} | |
- name: Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: release-${{ matrix.target }} | |
- name: Test | |
run: cargo test --all-features | |
env: | |
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc |