Skip to content

Commit 5dc0d67

Browse files
-trying to fix artifact collection on CI;
-changed runner image to windows-2019, as tests stopped working for unknown reason on windows-latest; -changed a broken unicode test (msys2 bash shell started to have problems with emojis);
1 parent 01c3e8c commit 5dc0d67

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build_and_test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
}
3939
- {
4040
name: "Windows Latest MSVC",
41-
os: windows-latest,
41+
os: windows-2019,
4242
cmake_vars: "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md",
4343
cmake-preset: msvc-release,
44-
artifacts: "build/Release/lunchtoast.exe"
44+
artifacts: "build/lunchtoast.exe"
4545
}
4646
steps:
4747
- name: Install ninja (Windows)
48-
if: matrix.config.os == 'windows-latest'
48+
if: matrix.config.os == 'windows-2019'
4949
run: choco install ninja
5050
- name: Install ninja (Linux)
5151
if: matrix.config.os == 'ubuntu-20.04'
@@ -78,7 +78,7 @@ jobs:
7878
functional_test_windows:
7979
name: Functional testing (Windows)
8080
needs: build
81-
runs-on: windows-latest
81+
runs-on: windows-2019
8282
steps:
8383
- uses: actions/checkout@v3
8484
- uses: msys2/setup-msys2@v2
@@ -95,7 +95,7 @@ jobs:
9595
id: pre_launch_tests
9696
uses: actions/download-artifact@v3
9797
with:
98-
name: lunchtoast-build-windows-latest
98+
name: lunchtoast-build-windows-2019
9999
path: build
100100
- name: Launch tests
101101
id: launch_tests
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-Name: ланчтост
22
-Assert files equal: 🥸.txt рхс.txt
3-
-Launch: echo "Привет мир!🥸"
3+
-Launch: echo "Привет мир!"
44
-Expect output:
5-
Привет мир!🥸
5+
Привет мир!
66

77
---

0 commit comments

Comments
 (0)