File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 64
64
- run : mkdir ~/.cargo-registry
65
65
66
66
- name : Build
67
- run : docker run --rm -v ~/.cargo-registry:/usr/local/cargo/registry -v $PWD:/code localhost:5000/phpv8js-build:latest bash -c 'rustup target add ${{ matrix.target }} ; cargo build --release --target ${{ matrix.target }}'
67
+ run : docker run --rm -v ~/.cargo-registry:/usr/local/cargo/registry -v $PWD:/code localhost:5000/phpv8js-build:latest bash -c 'rustup target add ${{ matrix.target }} ; cargo test --target ${{ matrix.target }} && cargo build --release --target ${{ matrix.target }}'
68
68
69
69
- name : Rename file
70
70
run : cp target/${{ matrix.target }}/release/libv8js.so php${{ matrix.php-version }}-${{ matrix.target }}-libv8js.so
@@ -118,10 +118,10 @@ jobs:
118
118
override : true
119
119
- name : Setup PHP version
120
120
run : brew install php@${{ matrix.php-version }} && brew unlink php && brew link --force php@${{ matrix.php-version }}
121
+
121
122
- name : Build
122
123
uses : actions-rs/cargo@v1
123
124
with :
124
- use-cross : ${{ matrix.cross }}
125
125
command : build
126
126
args : --release --target ${{ matrix.target }} --lib
127
127
You can’t perform that action at this time.
0 commit comments