Skip to content

Commit

Permalink
test yml
Browse files Browse the repository at this point in the history
  • Loading branch information
commial committed Jan 11, 2021
1 parent 03e0c44 commit 8bb0147
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/mla_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,24 @@ jobs:
os: ubuntu-latest
target: x86_64-unknown-linux-musl
cargo_build: --target x86_64-unknown-linux-musl
result_name: libmla.a
path: |
./target/x86_64-unknown-linux-musl/release/libmla.a
- build: windows-i686
os: windows-latest
target: i686-pc-windows-msvc
msvc_platform: Win32
result_name: mla.lib
path: |
./target/i686-pc-windows-msvc/release/mla.lib
./target/i686-pc-windows-msvc/release/mla.dll
./target/i686-pc-windows-msvc/release/mla.pdb
- build: windows-x86_64
os: windows-latest
target: x86_64-pc-windows-msvc
msvc_platform: x64
result_name: mla.lib
path: |
./target/x86_64-pc-windows-msvc/release/mla.lib
./target/x86_64-pc-windows-msvc/release/mla.dll
./target/x86_64-pc-windows-msvc/release/mla.pdb
runs-on: ${{ matrix.os }}

Expand All @@ -50,17 +57,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: strip ./target/${{ matrix.target }}/release/${{ matrix.result_name }}
- name: Upload resulting 'mla'
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v1
with:
name: mla-${{ matrix.build }}
path: ./target/${{ matrix.target }}/release/${{ matrix.result_name }}
path: ${{ matrix.path }}
- name: DEBUG
if: matrix.os == 'windows-latest'
run: dir ./target/${{ matrix.target }}/release/
- name: Upload resulting 'mla'
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v1
with:
name: mla-${{ matrix.build }}
path: ./target/${{ matrix.target }}/release/${{ matrix.result_name }}

0 comments on commit 8bb0147

Please sign in to comment.