Skip to content

Commit c28d89c

Browse files
committed
iterate on workflow syntax
1 parent 683d7b7 commit c28d89c

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.github/workflows/swift.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@ jobs:
107107
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ldk-c-bindings
108108
LLVM_CLANG_ASAN_PATH: /usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a
109109
RUST_BACKTRACE: 1
110-
111-
- name: Archive code coverage results
112-
uses: actions/upload-artifact@v3
113-
with:
114-
name: ci_archive
115-
path: ci
116-
117110
- name: Test Swift bindings package without address sanitizer
118111
run: |
119112
python ci/toggle_address_sanitation_library.py off
@@ -123,16 +116,11 @@ jobs:
123116
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ci/ldk-c-bindings
124117
LLVM_CLANG_ASAN_PATH: /usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a
125118
RUST_BACKTRACE: 1
126-
- name: Test Swift bindings package with address sanitizer
127-
run: |
128-
python ci/toggle_address_sanitation_library.py on
129-
cd ci/LDKSwift
130-
../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift test -v
131-
env:
132-
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ci/ldk-c-bindings
133-
LLVM_CLANG_ASAN_PATH: /usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a
134-
RUST_BACKTRACE: 1
135-
119+
- name: Archive code coverage results
120+
uses: actions/upload-artifact@v3
121+
with:
122+
name: ci_archive
123+
path: ci
136124
- name: Check that the latest headers are in the swift repo
137125
run: |
138126
git diff --exit-code
@@ -153,10 +141,9 @@ jobs:
153141
sudo apt-get -y install valgrind lld g++ clang
154142
- name: Test Swift bindings package without address sanitizer
155143
run: |
156-
python ci/toggle_address_sanitation_library.py off
144+
python ci/toggle_address_sanitation_library.py on
157145
cd ci/LDKSwift
158146
../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift test -v
159-
cd ../
160147
env:
161148
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ci/ldk-c-bindings
162149
LLVM_CLANG_ASAN_PATH: /usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a

0 commit comments

Comments
 (0)