mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 18:29:36 +03:00
;ci: github: tweaks
This commit is contained in:
parent
73634d09d5
commit
1fb6fbe807
12
.github/workflows/linux-ci.yml
vendored
12
.github/workflows/linux-ci.yml
vendored
@ -30,7 +30,7 @@ on:
|
||||
- 'hledger'
|
||||
- 'hledger-ui'
|
||||
- 'hledger-web'
|
||||
- '.github/workflows/*'
|
||||
- '.github/workflows/linux*'
|
||||
- '!**.md'
|
||||
- '!**.1'
|
||||
- '!**.5'
|
||||
@ -44,7 +44,7 @@ on:
|
||||
- 'hledger'
|
||||
- 'hledger-ui'
|
||||
- 'hledger-web'
|
||||
- '.github/workflows/*'
|
||||
- '.github/workflows/linux*'
|
||||
- '!**.md'
|
||||
- '!**.1'
|
||||
- '!**.5'
|
||||
@ -150,6 +150,7 @@ jobs:
|
||||
|
||||
- name: Install shelltestrunner
|
||||
run: |
|
||||
export PATH=~/.local/bin:$PATH
|
||||
if [[ ! -x ~/.local/bin/shelltest ]]; then stack $ARGS install shelltestrunner-1.9; fi
|
||||
shelltest --version
|
||||
env:
|
||||
@ -171,6 +172,13 @@ jobs:
|
||||
|
||||
- name: Functional tests (excluding addons)
|
||||
run: |
|
||||
export PATH=~/.local/bin:$PATH
|
||||
COLUMNS=80 stack $ARGS exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
||||
env:
|
||||
ARGS: ${{ matrix.plan.resolver }}
|
||||
|
||||
# - name: Configure
|
||||
# if: startsWith(matrix.name, 'linux')
|
||||
# run: |
|
||||
# export PATH=/usr/local/bin:$PATH
|
||||
# cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug ...
|
||||
|
4
.github/workflows/mac-ci.yml
vendored
4
.github/workflows/mac-ci.yml
vendored
@ -15,7 +15,7 @@ on:
|
||||
- 'hledger'
|
||||
- 'hledger-ui'
|
||||
- 'hledger-web'
|
||||
- '.github/workflows/*'
|
||||
- '.github/workflows/mac*'
|
||||
- '!**.md'
|
||||
- '!**.1'
|
||||
- '!**.5'
|
||||
@ -29,7 +29,7 @@ on:
|
||||
# - 'hledger'
|
||||
# - 'hledger-ui'
|
||||
# - 'hledger-web'
|
||||
# - '.github/workflows/*'
|
||||
# - '.github/workflows/mac*'
|
||||
# - '!**.md'
|
||||
# - '!**.1'
|
||||
# - '!**.5'
|
||||
|
32
.github/workflows/windows-ci.yml
vendored
32
.github/workflows/windows-ci.yml
vendored
@ -15,7 +15,7 @@ on:
|
||||
- 'hledger'
|
||||
- 'hledger-ui'
|
||||
- 'hledger-web'
|
||||
- '.github/workflows/*'
|
||||
- '.github/workflows/windows*'
|
||||
- '!**.md'
|
||||
- '!**.1'
|
||||
- '!**.5'
|
||||
@ -29,7 +29,7 @@ on:
|
||||
# - 'hledger'
|
||||
# - 'hledger-ui'
|
||||
# - 'hledger-web'
|
||||
# - '.github/workflows/*'
|
||||
# - '.github/workflows/windows*'
|
||||
# - '!**.md'
|
||||
# - '!**.1'
|
||||
# - '!**.5'
|
||||
@ -49,11 +49,11 @@ jobs:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
|
||||
- name: Cache %APPDATA%/.stack
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: %APPDATA%/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
# - name: Cache %APPDATA%/.stack
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
# path: %APPDATA%/.stack
|
||||
# key: ${{ runner.os }}-stack
|
||||
|
||||
- name: Cache $APPDATA/.stack
|
||||
uses: actions/cache@v1
|
||||
@ -61,11 +61,11 @@ jobs:
|
||||
path: $APPDATA/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
|
||||
- name: Cache %APPDATA%/local/bin
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: %APPDATA%/local/bin
|
||||
key: ${{ runner.os }}-local-bin
|
||||
# - name: Cache %APPDATA%/local/bin
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
# path: %APPDATA%/local/bin
|
||||
# key: ${{ runner.os }}-local-bin
|
||||
|
||||
- name: Cache $APPDATA/local/bin
|
||||
uses: actions/cache@v1
|
||||
@ -145,3 +145,11 @@ jobs:
|
||||
# with:
|
||||
# name: hledger.zip
|
||||
# path: hledger.zip
|
||||
|
||||
|
||||
# - name: Configure
|
||||
# if: startsWith(matrix.name, 'windows')
|
||||
# run: |
|
||||
# set PATH=C:\ProgramData\scoop\shims;%PATH%
|
||||
# call "${{ matrix.vcvarsall }}" x64 # Sets a whole bunch of environment variables used by the next call to cmake.
|
||||
# cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug ... # Same as above (duplicated)
|
||||
|
Loading…
Reference in New Issue
Block a user