-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitHub action to install docker-compose
- Loading branch information
Showing
2 changed files
with
47 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu] # centos | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Docker | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Install Docker Compose | ||
run: | | ||
DOCKER_COMPOSE_VERSION="2.11.2" | ||
sudo curl -L "https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | ||
sudo chmod +x /usr/local/bin/docker-compose | ||
docker-compose --version | ||
- name: Install project | ||
run: | | ||
./.ci/install.sh && \ | ||
make gen-conf OS_CONTAINER=${{ matrix.os }} && \ | ||
make install OS_CONTAINER=${{ matrix.os }} | ||
- name: Check version | ||
run: .ci/check-version.sh | ||
|
||
- name: Test | ||
run: make test | ||
|
||
- name: Finish | ||
run: | | ||
cat /tmp/krb5-test-${{ matrix.os }}.log && \ | ||
ls -lR && \ | ||
./script/inspect.sh && \ | ||
./.ci/check-version.sh |
This file was deleted.
Oops, something went wrong.