ci: make binaries for all three platforms
This commit is contained in:
parent
2493edfd4c
commit
1ead2c2973
16
.github/workflows/linux.yml
vendored
16
.github/workflows/linux.yml
vendored
@ -221,6 +221,22 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ARGS: ${{ matrix.plan.args }}
|
ARGS: ${{ matrix.plan.args }}
|
||||||
|
|
||||||
|
- name: Gather executables
|
||||||
|
run: |
|
||||||
|
mkdir tmp
|
||||||
|
cd tmp
|
||||||
|
mkdir hledger
|
||||||
|
cd hledger
|
||||||
|
cp `stack exec -- which hledger` .
|
||||||
|
cp `stack exec -- which hledger-ui` .
|
||||||
|
cp `stack exec -- which hledger-web` .
|
||||||
|
|
||||||
|
- name: Create executables artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: hledger-linux.zip
|
||||||
|
path: tmp/hledger
|
||||||
|
|
||||||
# - name: show stuff
|
# - name: show stuff
|
||||||
# run: |
|
# run: |
|
||||||
# if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi
|
# if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi
|
||||||
|
|||||||
14
.github/workflows/mac.yml
vendored
14
.github/workflows/mac.yml
vendored
@ -130,4 +130,18 @@ jobs:
|
|||||||
export PATH=~/.local/bin:$PATH
|
export PATH=~/.local/bin:$PATH
|
||||||
COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
||||||
|
|
||||||
|
- name: Gather executables
|
||||||
|
run: |
|
||||||
|
mkdir tmp
|
||||||
|
cd tmp
|
||||||
|
mkdir hledger
|
||||||
|
cd hledger
|
||||||
|
cp `stack exec -- which hledger` .
|
||||||
|
cp `stack exec -- which hledger-ui` .
|
||||||
|
cp `stack exec -- which hledger-web` .
|
||||||
|
|
||||||
|
- name: Create executables artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: hledger-mac.zip
|
||||||
|
path: tmp/hledger
|
||||||
|
|||||||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -169,5 +169,5 @@ jobs:
|
|||||||
- name: Create executables artifact
|
- name: Create executables artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: hledger.zip
|
name: hledger-win.zip
|
||||||
path: tmp/hledger
|
path: tmp/hledger
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user