summaryrefslogtreecommitdiffstats
path: root/third_party/rust/unicode-bidi/.github/workflows/main.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /third_party/rust/unicode-bidi/.github/workflows/main.yml
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/unicode-bidi/.github/workflows/main.yml')
-rw-r--r--third_party/rust/unicode-bidi/.github/workflows/main.yml49
1 files changed, 49 insertions, 0 deletions
diff --git a/third_party/rust/unicode-bidi/.github/workflows/main.yml b/third_party/rust/unicode-bidi/.github/workflows/main.yml
new file mode 100644
index 0000000000..303bac8b97
--- /dev/null
+++ b/third_party/rust/unicode-bidi/.github/workflows/main.yml
@@ -0,0 +1,49 @@
+name: CI
+
+on:
+ push:
+ branches: ['master', 'auto']
+ pull_request:
+
+jobs:
+ Test:
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ rust: [1.47.0, stable, beta, nightly]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: ${{ matrix.rust }}
+ - name: Unpin dependencies except on MSRV
+ if: matrix.rust != '1.47.0'
+ run: cargo update
+ - run: cargo build --all-targets
+ - run: cargo test
+ - run: cargo test --features "serde"
+ - run: cargo test --no-default-features
+ - run: cargo test --no-default-features --features=hardcoded-data
+ Fmt:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@stable
+ with:
+ components: rustfmt
+ - run: cargo fmt --check
+
+ build_result:
+ name: homu build finished
+ runs-on: ubuntu-latest
+ needs:
+ - "Test"
+ - "Fmt"
+ steps:
+ - name: Mark the job as successful
+ run: exit 0
+ if: success()
+ - name: Mark the job as unsuccessful
+ run: exit 1
+ if: "!success()"