Skip to content

feat: update config file load path #20

feat: update config file load path

feat: update config file load path #20

Workflow file for this run

name: rllvm CI
on:
push:
branches: [ "main" ]
paths-ignore:
- "README.md"
- ".gitignore"
- "LICENSE"
pull_request:
branches: [ "main" ]
paths-ignore:
- "README.md"
- ".gitignore"
- "LICENSE"
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install stable toolchain
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: stable
override: true
- name: Install LLVM/Clang (Linux)
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt install -y llvm llvm-dev clang libclang-dev
command -v llvm-config && clang -v
- name: Install LLVM/Clang (macOS)
if: ${{ runner.os == 'macOS' }}
run: |
brew install llvm
- name: Checkout sources
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0
- name: Build
uses: actions-rs/cargo@v1.0.1
with:
command: build
args: --verbose
- name: Run tests
uses: actions-rs/cargo@v1.0.1
with:
command: test
args: --all --verbose
fmt-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- name: Install stable toolchain
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Checkout sources
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0
- name: Run cargo fmt
uses: actions-rs/cargo@v1.0.1
with:
command: fmt
args: --all --check --verbose