Skip to content

Commit

Permalink
test: remove the input var
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jan 25, 2024
1 parent 79d1458 commit b78e36e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
description: 'GitHub runner'
required: true
type: string
num_threads:
description: 'Number of threads or CPUs'
required: false
type: string
default: '2'
# num_threads:
# description: 'Number of threads or CPUs'
# required: false
# type: string
# default: 2

defaults:
run:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: build
run: |
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=hipo
cmake --build build -j${{ inputs.num_threads }}
cmake --build build -j4 #${{ inputs.num_threads }}
cmake --install build
tar czvf hipo{.tar.gz,}
- run: brew install tree
Expand All @@ -65,7 +65,7 @@ jobs:
if: ${{ inputs.runner != 'macos-latest' }}
run: |
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=fmt -DCMAKE_POSITION_INDEPENDENT_CODE=ON
cmake --build build -j${{ inputs.num_threads }}
cmake --build build -j4 #${{ inputs.num_threads }}
cmake --install build
tar czvf fmt{.tar.gz,}
- run: tree fmt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
uses: ./.github/workflows/ci.yml
with:
runner: ubuntu-latest
num_threads: '4'
# num_threads: 4
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
uses: ./.github/workflows/ci.yml
with:
runner: macos-latest
num_threads: '3'
# num_threads: 3

0 comments on commit b78e36e

Please sign in to comment.