Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

WIP ci.yml

WIP ci.yml #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
- kendall/github-ci # TODO remove!
pull_request:
branches:
- '*'
env:
CARGO_TERM_COLOR: always
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
with:
cache: "true"
- name: Setup
run: just setup
- name: Build
run: just build
test:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
rust: [ stable, nightly ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set Environment Variables for Hermit
run: echo "HERMIT_STATE_DIR_RAW=$RUNNER_TEMP/hermit" >> $GITHUB_ENV
- name: Debug environment
run: |
echo "HERMIT_STATE_DIR_RAW: $HERMIT_STATE_DIR_RAW"
echo "Other relevant environment variable checks"
- name: Init Hermit
uses: cashapp/activate-hermit@v1
with:
cache: "true"
- name: Setup
run: just setup
- name: Test
run: just test
# lint:
# # ...