Skip to content

Commit

Permalink
hrm
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Aug 11, 2024
1 parent cd1d2e8 commit 490c9ea
Showing 1 changed file with 19 additions and 33 deletions.
52 changes: 19 additions & 33 deletions .github/workflows/install-sqlx-ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,34 @@ jobs:
# https://github.com/cross-rs/cross#supported-targets
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
include:
# 32-bit (i686)
# i686-apple-darwin is Tier 3.
- build: linux-32-bit
os: ubuntu-latest
target: i686-unknown-linux-gnu
command: cross
- build: windows-32-bit
os: ubuntu-latest
target: i686-pc-windows-gnu
command: cross
# 64-bit (x86)
- build: linux-64-bit
os: ubuntu-latest
target: x86_64-unknown-linux-gnu
command: cross
- build: macos-64-bit
os: macos-latest
target: x86_64-apple-darwin
command: cargo
- build: windows-64-bit
os: ubuntu-latest
target: x86_64-pc-windows-gnu
command: cross
# 64-bit (ARM)
# aarch64-pc-windows-gnullvm is Tier 3.
- build: macos-arm
os: macos-latest
target: aarch64-apple-darwin
command: cargo
- build: linux-arm
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
command: cross
- os: ubuntu-latest
shell: sh
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: sh
- os: macos-latest
shell: bash
- os: windows-latest
shell: sh
- os: windows-latest
shell: bash
- os: windows-latest
shell: pwsh
- os: windows-latest
shell: PowerShell
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: ${{ matrix.shell }}
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: ${{ matrix.shell }}
run: sqlx-ts --help
- name: run sqlx-ts version
shell: ${{ matrix.shell }}
run: sqlx-ts --version

0 comments on commit 490c9ea

Please sign in to comment.