Skip to content

Commit

Permalink
Modify CI for using install-dependencies from tsurugidb
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakw committed Oct 1, 2023
1 parent 781d068 commit 2fcb228
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ inputs:
token:
description: token for checkout private repo
required: true
checkout:
description: Skip checkout if false
default: true
path:
description: Relative path under $GITHUB_WORKSPACE to place the repository
default: build-deps

runs:
using: "composite"
Expand All @@ -13,15 +19,15 @@ runs:
uses: actions/checkout@v3
with:
repository: project-tsurugi/takatori
path: build-deps/takatori
path: ${{ inputs.path }}/takatori
ref: master
token: ${{ inputs.token }}

- name: Checkout_Yugawara
uses: actions/checkout@v3
with:
repository: project-tsurugi/yugawara
path: build-deps/yugawara
path: ${{ inputs.path }}/yugawara
ref: master
submodules: true
token: ${{ inputs.token }}
Expand All @@ -30,14 +36,14 @@ runs:
uses: actions/checkout@v3
with:
repository: project-tsurugi/shakujo
path: build-deps/shakujo
path: ${{ inputs.path }}/shakujo
ref: master
submodules: recursive
token: ${{ inputs.token }}

- name: Install_Takatori
run: |
cd build-deps/takatori
cd ${{ inputs.path }}/takatori
rm -fr build
mkdir build
cd build
Expand All @@ -47,7 +53,7 @@ runs:

- name: Install_hopscotch-map
run: |
cd build-deps/yugawara/third_party/hopscotch-map
cd ${{ inputs.path }}/yugawara/third_party/hopscotch-map
rm -fr ../../build-hopscotch-map
mkdir ../../build-hopscotch-map
cd ../../build-hopscotch-map
Expand All @@ -57,7 +63,7 @@ runs:

- name: Install_Yugawara
run: |
cd build-deps/yugawara
cd ${{ inputs.path }}/yugawara
rm -fr build
mkdir build
cd build
Expand All @@ -67,7 +73,7 @@ runs:

- name: Install_Shakujo
run: |
cd build-deps/shakujo
cd ${{ inputs.path }}/shakujo
rm -fr build
mkdir build
cd build
Expand Down

0 comments on commit 2fcb228

Please sign in to comment.