File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -162,17 +162,17 @@ jobs:
162162 steps :
163163 - uses : actions/checkout@v3
164164 - name : Build FreeBSD
165- uses : vmactions/freebsd-vm @v0
165+ uses : cross-platform-actions/action @v0.19.0
166166 env :
167167 DEBUG : napi:*
168168 RUSTUP_HOME : /usr/local/rustup
169169 CARGO_HOME : /usr/local/cargo
170170 RUSTUP_IO_THREADS : 1
171171 with :
172- envs : DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
173- usesh : true
174- mem : 8192
175- prepare : |
172+ operating_system : freebsd
173+ version : ' 13.2 '
174+ shell : bash
175+ run : |
176176 pkg install -y -f curl node libnghttp2 npm yarn
177177 curl https://sh.rustup.rs -sSf --output rustup.sh
178178 sh rustup.sh -y --profile minimal --default-toolchain beta
@@ -183,15 +183,16 @@ jobs:
183183 node -v
184184 echo "~~~~ yarn --version ~~~~"
185185 yarn --version
186- run : |
187- export PATH="/usr/local/cargo/bin:$PATH"
188186 yarn install
189187 yarn build-release
190188 strip -x *.node
191189 cargo build --release --features cli
192190 mv target/release/lightningcss lightningcss
193191 node -e "require('.')"
194192 ./lightningcss --help
193+ rm -rf node_modules
194+ rm -rf target
195+ rm -rf .yarn/cache
195196
196197 - name : Upload artifacts
197198 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments