Skip to content

Commit 25d4058

Browse files
committed
new workflow fixes
1 parent 6d5c983 commit 25d4058

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
steps:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
42+
with:
43+
fetch-depth: 1
44+
submodules: false
4245

4346
- name: Install raylib (Linux)
4447
if: runner.os == 'Linux' && matrix.build_gfx
@@ -64,7 +67,7 @@ jobs:
6467
if: runner.os == 'macOS' && matrix.build_gfx
6568
run: |
6669
set -e
67-
brew update
70+
export HOMEBREW_NO_AUTO_UPDATE=1
6871
brew install raylib
6972
7073
- name: Build (Unix)
@@ -105,19 +108,17 @@ jobs:
105108
106109
- name: Build (Windows)
107110
if: runner.os == 'Windows'
108-
shell: bash
111+
shell: msys2 {0}
109112
run: |
110113
set -e
114+
make
111115
if [ "${{ matrix.build_gfx }}" = "true" ]; then
112-
C:\\msys64\\usr\\bin\\bash -lc "make && make basic-gfx"
113-
else
114-
choco install -y make
115-
make
116+
make basic-gfx
116117
fi
117118
118119
- name: Run tests (Windows)
119120
if: runner.os == 'Windows'
120-
shell: bash
121+
shell: msys2 {0}
121122
run: |
122123
set -e
123124
for t in tests/*.bas; do

0 commit comments

Comments
 (0)