Skip to content

Commit

Permalink
Rename artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Mar 25, 2023
1 parent b92db0c commit bd2cf62
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cmake-cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:
- name: Build
run: dub build :anisette-server -b release --compiler=aarch64-linux-gnu-gdc-12 -c "static"

- name: Rename
run: mv "${{github.workspace}}/bin/provision_anisette-server" "${{github.workspace}}/bin/anisette-server-aarch64"

- uses: actions/upload-artifact@v3
with:
name: anisette-server-aarch64
path: |
${{github.workspace}}/bin/provision_anisette-server
${{github.workspace}}/bin/anisette-server-aarch64
build-anisette-server-armv7:
runs-on: ubuntu-22.04
Expand All @@ -45,8 +48,11 @@ jobs:
- name: Build
run: dub build :anisette-server -b release --compiler=arm-linux-gnueabihf-gdc-12 -c "static"

- name: Rename
run: mv "${{github.workspace}}/bin/provision_anisette-server" "${{github.workspace}}/bin/anisette-server-armv7"

- uses: actions/upload-artifact@v3
with:
name: anisette-server-armv7
path: |
${{github.workspace}}/bin/provision_anisette-server
${{github.workspace}}/bin/anisette-server-armv7
17 changes: 14 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
- name: Build
run: dub build :anisette-server -b release --compiler=gdc-12 -c "static"

- name: Rename
run: mv "${{github.workspace}}/bin/provision_anisette-server" "${{github.workspace}}/bin/anisette-server-x86_64"

- uses: actions/upload-artifact@v3
with:
name: anisette-server-x86_64
path: ${{github.workspace}}/bin/provision_anisette-server
path: |
${{github.workspace}}/bin/anisette-server-x86_64
build-anisette-server-i686:
runs-on: ubuntu-22.04
Expand All @@ -43,10 +47,14 @@ jobs:
- name: Build
run: dub build :anisette-server -b release --compiler=i686-linux-gnu-gdc-12 -c "static"

- name: Rename
run: mv "${{github.workspace}}/bin/provision_anisette-server" "${{github.workspace}}/bin/anisette-server-i686"

- uses: actions/upload-artifact@v3
with:
name: anisette-server-i686
path: ${{github.workspace}}/bin/provision_anisette-server
path: |
${{github.workspace}}/bin/anisette-server-i686
build-debug-rh:
runs-on: ubuntu-22.04
Expand All @@ -62,7 +70,10 @@ jobs:
- name: Build
run: dub build :retrieve-headers

- name: Rename
run: mv "${{github.workspace}}/bin/provision_retrieve-headers" "${{github.workspace}}/bin/retrieve-headers-debug"

- uses: actions/upload-artifact@v3
with:
name: retrieve-headers-debug
path: ${{github.workspace}}/bin/provision_retrieve-headers
path: ${{github.workspace}}/bin/retrieve-headers-debug
1 change: 1 addition & 0 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ subPackage {

configuration "static" {
targetType "executable"
lflags "-lz" platform="ldc"
dflags "--link-defaultlib-shared=false" platform="ldc"
dflags "-defaultlib=:libgphobos.a" platform="gdc"
}
Expand Down

0 comments on commit bd2cf62

Please sign in to comment.