Skip to content

Commit aae7696

Browse files
committed
Check for docker
1 parent bd6347f commit aae7696

File tree

1 file changed

+1
-52
lines changed

1 file changed

+1
-52
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -51,55 +51,4 @@ jobs:
5151
- name: Checkout code
5252
uses: actions/checkout@v4
5353
with: { 'fetch-depth': 0 }
54-
- name: Install unzip
55-
run: apt-get update && apt-get install -y unzip
56-
- name: Run tests
57-
run: cp .env.testing.template .env.testing && make test
58-
env:
59-
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
60-
DATABASE_HOST: postgres
61-
DATABASE_PORT: '5432'
62-
63-
release-build-linux:
64-
name: Release build
65-
runs-on: ubuntu-latest
66-
container:
67-
image: registry.gitlab.com/finestructure/spi-base:1.1.1
68-
options: --privileged
69-
steps:
70-
- name: GH Runner bug workaround
71-
run: sysctl -w vm.mmap_rnd_bits=28
72-
- name: Checkout code
73-
uses: actions/checkout@v4
74-
with: { 'fetch-depth': 0 }
75-
- name: Build release
76-
run: swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
77-
78-
# test-macos:
79-
# name: Test macOS
80-
# runs-on: macOS-latest
81-
# services:
82-
# postgres:
83-
# image: postgres:16-alpine
84-
# env:
85-
# POSTGRES_DB: spi_dev
86-
# POSTGRES_USER: spi_dev
87-
# POSTGRES_PASSWORD: xxx
88-
# ports:
89-
# - 5432:5432
90-
# options: >-
91-
# --health-cmd pg_isready
92-
# --health-interval 10s
93-
# --health-timeout 5s
94-
# --health-retries 5
95-
# steps:
96-
# - uses: actions/checkout@v4
97-
# - name: Select Xcode 11.4
98-
# run: sudo xcode-select -s /Applications/Xcode_11.4.app
99-
# - name: Log Xcode version
100-
# run: /usr/bin/xcodebuild -version
101-
# - name: Run tests
102-
# run: make test
103-
# env:
104-
# DATABASE_HOST: postgres
105-
# DATABASE_PORT: 5432
54+
- run: docker ps

0 commit comments

Comments
 (0)