Skip to content

transpiler: fix format_args! for simple cases with literal args #386

transpiler: fix format_args! for simple cases with literal args

transpiler: fix format_args! for simple cases with literal args #386

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
LIBCLANG_PATH: /usr/lib/llvm-18/lib
Z3_SYS_Z3_HEADER: /usr/include/z3.h
jobs:
build-and-test:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show CPU count
run: nproc
- name: Build
run: cargo build --release -j $(nproc)
- name: Run tests
run: cargo test --release -j $(nproc) -- --test-threads=$(nproc)
- name: Test CMake example project
run: |
export PATH="$HOME/.cargo/bin:$PATH"
cd cmake-example-project
rm -rf build
mkdir build && cd build
cmake ..
make -j $(nproc)
parity-matrix:
runs-on: self-hosted
needs: build-and-test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run parity matrix
run: |
export PATH="$HOME/.cargo/bin:$PATH"
./tests/transpile_tests/run_parity_matrix.sh \
--work-root "${RUNNER_TEMP}/rusty-parity-matrix"
- name: Upload parity matrix artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: parity-matrix-artifacts-${{ github.run_id }}
path: |
${{ runner.temp }}/rusty-parity-matrix/either/**
${{ runner.temp }}/rusty-parity-matrix/tap/**
${{ runner.temp }}/rusty-parity-matrix/cfg-if/**
${{ runner.temp }}/rusty-parity-matrix/take_mut/**
${{ runner.temp }}/rusty-parity-matrix/arrayvec/**
${{ runner.temp }}/rusty-parity-matrix/semver/**
${{ runner.temp }}/rusty-parity-matrix/bitflags/**
if-no-files-found: warn
retention-days: 14