Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smanolloff committed Oct 10, 2024
1 parent 5c838f3 commit 9df549f
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions .github/workflows/github.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: VCMI

on:
push:
branches:
- features/*
- beta
- master
- develop
pull_request:
# push:
# branches:
# - features/*
# - beta
# - master
# - develop
# pull_request:
workflow_dispatch:

env:
Expand All @@ -23,10 +23,10 @@ jobs:
os: ubuntu-24.04
test: 0
preset: linux-clang-test
- platform: linux
os: ubuntu-24.04
test: 1
preset: linux-gcc-test
# - platform: linux
# os: ubuntu-24.04
# test: 1
# preset: linux-gcc-test
- platform: linux
os: ubuntu-20.04
test: 0
Expand Down Expand Up @@ -418,20 +418,10 @@ jobs:

- name: Ensure LF line endings
run: |
find . \( \
-path '*/.git' -o \
-path ./AI/FuzzyLite -o \
-path ./test/googletest -o \
-path ./osx
\) -prune -o -type f -not \( \
-name '*.png' -or \
-name '*.ttf' -or \
-name '*.wav' -or \
-name '*.webm' -or \
-name '*.ico' -or \
-name '*.bat' -or \
-name '*.pt' \
\) -print0 | xargs -0 grep -lzE '\r\n'
find . -path ./.git -prune -o -path ./AI/FuzzyLite -prune -o -path ./test/googletest \
-o -path ./osx -prune -o -type f \
-not -name '*.png' -and -not -name '*.ttf' -and -not -name '*.wav' -and -not -name '*.webm' -and -not -name '*.ico' -and -not -name '*.bat' -and -not -name '*.pt' -print0 | \
{ ! xargs -0 grep -l -z -P '\r\n'; }
- name: Validate JSON
run: |
Expand Down

0 comments on commit 9df549f

Please sign in to comment.