File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
browser-jni :
9
- runs-on : ubuntu-22.04
10
- container : ghcr.io/eclipse-set/rust-x86_64-pc-windows-gnu:latest
9
+ runs-on : windows-2022
11
10
steps :
12
11
- uses : actions/checkout@v3
13
12
17
16
rm -rf java/org.eclipse.set.browser.cef.win32/res/cef
18
17
mkdir -p java/org.eclipse.set.browser.cef.win32/res/cef
19
18
mkdir -p java/org.eclipse.set.browser.lib/res
19
+ shell : bash
20
20
21
21
- name : Cache CEF
22
22
id : cef-cache
@@ -32,23 +32,25 @@ jobs:
32
32
if : steps.cef-cache.outputs.cache-hit != 'true'
33
33
run : |
34
34
VERSION=$(grep -E -v ^# ../../CEF_VERSION.txt)
35
- wget https://cef-builds.spotifycdn.com/$VERSION.tar.bz2 -O cef .tar.bz2
35
+ curl -o cef.tar.bz2 https://cef-builds.spotifycdn.com/$VERSION.tar.bz2
36
36
tar xf cef.tar.bz2 $VERSION/LICENSE.txt $VERSION/Resources --strip-components 1
37
37
tar xf cef.tar.bz2 $VERSION/Release/libcef.lib --strip-components 2
38
38
tar xf cef.tar.bz2 --wildcards $VERSION/Release/*.dll --wildcards $VERSION/Release/*.bin --strip-components 2
39
39
cp -r *.dll *.bin Resources/* LICENSE.txt ../../java/org.eclipse.set.browser.cef.win32/res/cef
40
40
ls -avl ../../java/org.eclipse.set.browser.cef.win32/res/cef
41
41
working-directory : cef/Release
42
+ shell : bash
42
43
43
44
- name : Build Rust
44
- run : cargo clean && cargo build --release --target x86_64-pc-windows-gnu
45
+ run : cargo clean && cargo build --release
45
46
working-directory : native
47
+ shell : bash
46
48
47
49
- name : Archive binaries
48
50
uses : actions/upload-artifact@v3
49
51
with :
50
52
name : chromium-swt-libs
51
- path : native/target/x86_64-pc-windows-gnu/ release/chromium_*.*
53
+ path : native/target/release/chromium_*.*
52
54
retention-days : 1
53
55
54
56
build :
You can’t perform that action at this time.
0 commit comments