51
51
docker rmi $(docker image ls -aq)
52
52
df -h
53
53
54
- - uses : actions/checkout@v1
54
+ - uses : actions/checkout@v2
55
55
with :
56
56
path : swift
57
+ fetch-depth : 0
57
58
58
59
- name : Prepare sccache timestamp
59
60
id : cache_timestamp
64
65
65
66
- uses : actions/cache@v1
66
67
with :
67
- path : ../ build-cache
68
+ path : build-cache
68
69
key : ${{ matrix.target }}-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
69
70
restore-keys : |
70
71
${{ matrix.target }}-sccache-v10-
82
83
83
84
case "${{ matrix.target }}" in
84
85
"ubuntu20.04_x86_64" | "ubuntu18.04_x86_64" | "macos_x86_64")
85
- ./utils/webassembly/ci.sh
86
+ ./swift/ utils/webassembly/ci.sh
86
87
;;
87
88
*)
88
89
echo "Unrecognised target: ${{ matrix.target }}"
@@ -94,13 +95,12 @@ jobs:
94
95
uses : actions/upload-artifact@v1
95
96
with :
96
97
name : ${{ matrix.target }}-installable
97
- path : ../ swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz
98
+ path : swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz
98
99
99
100
- name : Pack test results
100
101
if : ${{ matrix.run_full_test }}
101
- working-directory : ${{ github.workspace }}/../
102
102
run : |
103
- tar cJf ./swift/swift -test-results.tar.gz target-build/swift-stdlib-wasi-wasm32/swift-test-results
103
+ tar cJf ./swift-test-results.tar.gz target-build/swift-stdlib-wasi-wasm32/swift-test-results
104
104
- name : Upload test results
105
105
uses : actions/upload-artifact@v1
106
106
if : ${{ matrix.run_full_test }}
@@ -110,7 +110,6 @@ jobs:
110
110
111
111
# Run e2e test
112
112
- name : Prepare E2E test
113
- working-directory : ${{ github.workspace }}/../
114
113
run : |
115
114
INSTALL_DIR=$(mktemp -d)
116
115
tar xf swift-wasm-$TOOLCHAIN_CHANNEL-SNAPSHOT-${{ matrix.target }}.tar.gz -C "$INSTALL_DIR"
0 commit comments