Skip to content

Commit

Permalink
test commit13
Browse files Browse the repository at this point in the history
  • Loading branch information
henning-gerhardt committed Nov 30, 2024
1 parent 7c6291b commit 020671a
Showing 1 changed file with 62 additions and 12 deletions.
74 changes: 62 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: mfakto-linux64
name: mfakto-${{ github.sha }}-linux64
path: |
*.cl
Changelog-mfakto.txt
Expand All @@ -37,16 +37,16 @@ jobs:
README.txt
tf_debug.h
todo.txt
# - name: Create artifact and release asset
# if: startsWith(github.ref, 'refs/tags/')
# run: |
# tar cvjf mfakto-${{ github.ref_name }}-linux64.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
# - name: Upload release assets on release
# uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# mfakto-${{ github.ref_name }}-linux64.tar.bz2
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
tar cvjf mfakto-${{ github.ref_name }}-linux64.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-linux64.tar.bz2
WindowsMSVC:
name: Windows MSVC
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: mfakto-windows-msvc
name: mfakto-${{ github.sha }}-windows-msvc
path: x64/Debug/
- name: Upload release asset on release
uses: softprops/action-gh-release@v2
Expand All @@ -100,6 +100,31 @@ jobs:
- name: Build
run: |
make -C src -O -j $env:NUMBER_OF_PROCESSORS CC=$env:CC CPP=$env:CPP AMD_APP_INCLUDE="-IC:\msys64\mingw64\include" AMD_APP_LIB="-LC:\msys64\mingw64\lib"
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: mfakto-${{ github.sha }}-windows-msys2
path: |
*.cl
Changelog-mfakto.txt
COPYING
datatypes.h
mfakto.exe
mfakto.ini
README-SpecialVersions.txt
README.txt
tf_debug.h
todo.txt
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
Compress-Archive -DestinationPath mfakto-${{ github.ref_name }}-windows-msys2.zip -CompressionLevel Optimal -Path *.cl, Changelog-mfakto.txt, COPYING, datatypes.h, mfakto.exe, mfakto.ini, README-SpecialVersions.txt, README.txt, tf_debug.h, todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-windows-msys2.zip
MacOS:
name: MacOS
Expand All @@ -122,3 +147,28 @@ jobs:
- name: Test
run: |
./mfakto -d 11
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: mfakto-${{ github.sha }}-${{ matrix.os }}
path: |
*.cl
Changelog-mfakto.txt
COPYING
datatypes.h
mfakto
mfakto.ini
README-SpecialVersions.txt
README.txt
tf_debug.h
todo.txt
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
tar cvjf mfakto-${{ github.ref_name }}-${{ matrix.os }}.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-${{ matrix.os }}.tar.bz2

0 comments on commit 020671a

Please sign in to comment.