-
Notifications
You must be signed in to change notification settings - Fork 527
69 lines (57 loc) · 1.59 KB
/
windows-x86_64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: windows-x86_64
on: [push, pull_request]
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
windows:
if: 1
runs-on: windows-latest
steps:
- name: Prepare git
run: |
git config --global core.autocrlf false
git config --global core.eol lf
env
ipconfig
uname -a
pwd
ipconfig /all
- uses: actions/checkout@v3
- name: Prepare Chromium Run Environment
run: |
ipconfig /all
- name: Download Chromium
shell: bash
run: |
set -x
bash tools/download-chromium.sh
- name: Download Firefox
shell: bash
run: |
set -x
bash tools/download-firefox-latest-stable.sh
# https://www.msys2.org/docs/ci/
# https://github.com/marketplace/actions/setup-msys2
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: git mingw-w64-ucrt-x86_64-gcc
- name: CI-Build
shell: msys2 {0}
run: |
echo 'Running in MSYS2!'
echo "C:\\msys64\\usr\\bin" >> $GITHUB_PATH
echo "C:\\msys64\\mingw64\\bin" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH=/mingw64/lib/pkgconfig" >> $GITHUB_ENV
- name: test powershell use msys2
shell: powershell
run: msys2 -c 'uname -a'
- name: test cmd use msys2
shell: cmd
run: msys2 -c 'uname -a'
- name: Test
shell: cmd
run: |
@chcp 65001>nul
echo foo=bar >> %GITHUB_OUTPUT%