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 6464 - run : mkdir ~/.cargo-registry
6565
6666 - 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 }}'
6868
6969 - name : Rename file
7070 run : cp target/${{ matrix.target }}/release/libv8js.so php${{ matrix.php-version }}-${{ matrix.target }}-libv8js.so
@@ -118,10 +118,10 @@ jobs:
118118 override : true
119119 - name : Setup PHP version
120120 run : brew install php@${{ matrix.php-version }} && brew unlink php && brew link --force php@${{ matrix.php-version }}
121+
121122 - name : Build
122123 uses : actions-rs/cargo@v1
123124 with :
124- use-cross : ${{ matrix.cross }}
125125 command : build
126126 args : --release --target ${{ matrix.target }} --lib
127127
You can’t perform that action at this time.
0 commit comments