Skip to content

Commit adf0a1d

Browse files
committed
..
1 parent 6fd9ad9 commit adf0a1d

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ jobs:
7575
# - os: ubuntu-latest
7676
# target: aarch64-unknown-linux-musl
7777
env:
78-
BINARY_EXTENSION: ${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
78+
BINARY_EXTENSION: _Linux.x86_64
7979
PATH_BINARY: ${{ github.workspace }}/target/${{ matrix.TARGET }}/release/L4AddonEnforcer${{ matrix.EXTENSION }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
80-
OPENSSL_STATIC: 1
80+
# OPENSSL_STATIC: 1
8181
CC: clang
8282
CXX: clang++
8383
steps:
@@ -92,20 +92,22 @@ jobs:
9292
target: ${{ matrix.target }}
9393
# - if: ${{ matrix.os == 'ubuntu-latest' }}
9494
# run: sudo apt update -y && sudo apt install libfltk1.4-dev -y
95+
- name: clang
96+
run: export CC=clang CXX=clang++
9597
- uses: actions-rs/cargo@v1
9698
with:
9799
use-cross: true
98100
command: build
99101
args: --profile release --bin L4AddonEnforcer --locked --target=${{ matrix.TARGET }}
100102
- uses: actions/upload-artifact@v4
101103
with:
102-
name: ${{ matrix.target }}-L4AddonEnforcer${{ env.BINARY_EXTENSION }}
104+
name: L4AddonEnforcer${{ env.BINARY_EXTENSION }}
103105
path: ${{ env.PATH_BINARY }}
104106
- name: Evaluate shasum
105107
run: echo -n $(shasum -ba 256 ${{ env.PATH_BINARY }} | cut -d " " -f 1) > ${{ env.PATH_BINARY }}.sha256
106108
- uses: actions/upload-artifact@v4
107109
with:
108-
name: ${{ matrix.target }}-L4AddonEnforcer.sha256
110+
name: L4AddonEnforcer{{ env.BINARY_EXTENSION }}.sha256
109111
path: ${{ env.PATH_BINARY }}.sha256
110112

111113
build-release-windows:
@@ -137,13 +139,13 @@ jobs:
137139
args: --profile release --bin L4AddonEnforcer --locked --target=${{ matrix.TARGET }}
138140
- uses: actions/upload-artifact@v4
139141
with:
140-
name: ${{ matrix.target }}-L4AddonEnforcer${{ env.BINARY_EXTENSION }}
142+
name: L4AddonEnforcer_Win64${{ env.BINARY_EXTENSION }}
141143
path: ${{ env.PATH_BINARY }}
142144
- name: Evaluate shasum
143145
run: echo -n $(shasum -ba 256 ${{ env.PATH_BINARY }} | cut -d " " -f 1) > ${{ env.PATH_BINARY }}.sha256
144146
- uses: actions/upload-artifact@v4
145147
with:
146-
name: ${{ matrix.target }}-L4AddonEnforcer.sha256
148+
name: L4AddonEnforcer_Win64.sha256
147149
path: ${{ env.PATH_BINARY }}.sha256
148150

149151
# - name: '[Optional] Publish Artifact'

0 commit comments

Comments
 (0)