[latex3-commits] [latex3/luaotfload] dev: Add Windows build to CI runs (c4d2559f)

github at latex-project.org github at latex-project.org
Sun Feb 25 02:28:28 CET 2024


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/c4d2559f3a9925fc2981f32e025ac175b0232475

>---------------------------------------------------------------

commit c4d2559f3a9925fc2981f32e025ac175b0232475
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Feb 24 21:23:49 2024 +0100

    Add Windows build to CI runs


>---------------------------------------------------------------

c4d2559f3a9925fc2981f32e025ac175b0232475
 .github/workflows/main.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 8aaa1e3f..61d67ca3 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -68,6 +68,31 @@ jobs:
           path: "**/*.pdf"
           # Decide how long to keep the test output artifact:
           retention-days: 21
+  windows:
+    runs-on: windows-latest
+    name: Tests on Windows
+    steps:
+      # Boilerplate
+      - name: Checkout repository
+        uses: actions/checkout at v4
+      - name: Install TeX Live
+        uses: zauguin/install-texlive at v3
+        with:
+          # The list of packages to install is in a separate file under .github/tl_packages
+          # to allow reuse.
+          package_file: .github/tl_packages
+          cache_version: 0
+      - name: Run l3build
+        run: l3build check -q -H --show-log-on-error
+      # Now we create the artifacts: There are two cases where this happens.
+      # 1. If we failed running tests
+      - name: Archive failed test output
+        if: ${{ always() }}
+        uses: zauguin/l3build-failure-artifacts at v1
+        with:
+          name: testfiles-windows
+          # Decide how long to keep the test output artifact:
+          retention-days: 3
   # GitHub automatically informs the initiator of any action about the result, but
   # we additionally want to keep the latex-commits mailing list informed about
   # test failures.





More information about the latex3-commits mailing list.