Skip to content

Commit

Permalink
IMPR: uploading build artefacts from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ser-mk committed Sep 8, 2023
1 parent b03aab2 commit 940d17d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ jobs:
run: |
export SYSTEM_VERSION_COMPAT=1
echo "\n\n\n ==== SYSTEM_VERSION_COMPAT $SYSTEM_VERSION_COMPAT \nn\n\n\n\n"
cmake --build ${{github.workspace}}/build
cmake --build ${{github.workspace}}/build
- name: Zip artifacts
run: |
zip -qqr build_folder.zip ${{github.workspace}}/build
ls -la build_folder.zip
ls -lh build_folder.zip
- uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/raspberry_pi_armv6_bcm2708.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build

- name: Zip artifacts
run: |
zip -qqr build_folder.zip ${{github.workspace}}/build
ls -la build_folder.zip
ls -lh build_folder.zip
- uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build

- name: Zip artifacts
run: |
zip -qqr build_folder.zip ${{github.workspace}}/build
ls -la build_folder.zip
ls -lh build_folder.zip
- uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
run: |
cmake --build build
- name: Zip artifacts
run: |
/c/msys64/usr/bin/zip -qqr build_folder.zip build
ls -la build_folder.zip
ls -lh build_folder.zip
- uses: actions/upload-artifact@v3
with:
name: build_folder
Expand Down

0 comments on commit 940d17d

Please sign in to comment.