ci: disable autocrlf on windows
This commit is contained in:
parent
3a47c24975
commit
b7e141227e
|
@ -7,9 +7,6 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- uses: goto-bus-stop/setup-zig@v1
|
- uses: goto-bus-stop/setup-zig@v1
|
||||||
with:
|
with:
|
||||||
version: master
|
version: master
|
||||||
|
@ -23,10 +20,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
vcpkg integrate install
|
vcpkg integrate install
|
||||||
vcpkg install sdl2:x64-windows
|
vcpkg install sdl2:x64-windows
|
||||||
|
git config --global core.autocrlf false
|
||||||
- name: prepare-macos
|
- name: prepare-macos
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
brew install sdl2
|
brew install sdl2
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
- name: build
|
- name: build
|
||||||
run: zig build -Drelease-safe
|
run: zig build -Drelease-safe
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Reference in New Issue