Skip to content

Commit

Permalink
add "-t" option
Browse files Browse the repository at this point in the history
Signed-off-by: yuudi <[email protected]>
  • Loading branch information
yuudi committed Mar 19, 2023
1 parent 70c49f7 commit d3a9719
Show file tree
Hide file tree
Showing 6 changed files with 297 additions and 131 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "tcping",
"image": "mcr.microsoft.com/devcontainers/rust:1"
}
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [ push, pull_request ]
on: [push, pull_request]

name: Cross-compile

Expand All @@ -10,11 +10,9 @@ jobs:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- mips-unknown-linux-gnu
- x86_64-pc-windows-gnu
- x86_64-unknown-linux-gnu # linux_x86-64
- aarch64-unknown-linux-gnu # linux_arm64
- x86_64-pc-windows-gnu # windows_x86-64
steps:
- uses: actions/checkout@v2

Expand All @@ -28,11 +26,11 @@ jobs:
with:
use-cross: true
command: build
args: --release --target=${{ matrix.target }}
args: --release --target=${{ matrix.target }}

- uses: actions/upload-artifact@v2
with:
name: target-${{ matrix.target }}
path: |
target/${{ matrix.target }}/release/tcping
target/${{ matrix.target }}/release/tcping.exe
target/${{ matrix.target }}/release/tcping.exe
Loading

0 comments on commit d3a9719

Please sign in to comment.