From 8500e1437e4ef18587457285b4fecde9f92740b3 Mon Sep 17 00:00:00 2001 From: Thomas Churchman Date: Wed, 24 Jul 2024 17:30:04 +0200 Subject: [PATCH] ci: add github workflows to test font-enumeration crate --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d21439b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - uses: actions/checkout@v4 + + - name: Build font-enumeration + run: cargo build --package font-enumeration --verbose + - name: Run font-enumeration tests + run: cargo test --package font-enumeration --verbose