Skip to content

Commit 03e864e

Browse files
committed
debug
1 parent 480a169 commit 03e864e

File tree

4 files changed

+7
-192
lines changed

4 files changed

+7
-192
lines changed

.github/workflows/ci.yml

+7-48
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ jobs:
3737
- name: Checkout code
3838
uses: actions/checkout@v4
3939
with: { 'fetch-depth': 0 }
40-
- name: Install unzip
41-
run: apt-get update && apt-get install -y unzip
42-
- name: Run tests
43-
run: cp .env.testing.template .env.testing && swift test --filter AnalyzerTests
40+
- name: Install postgres
41+
run: |
42+
apt-get update && apt install -y postgresql-common
43+
echo y | /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
44+
which psql
45+
which docker
46+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
4447
env:
4548
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
4649
DATABASEPOOL_SIZE: 8
@@ -151,47 +154,3 @@ jobs:
151154
--health-interval 10s
152155
--health-timeout 5s
153156
--health-retries 5
154-
155-
release-build-linux:
156-
name: Release build
157-
runs-on: ubuntu-latest
158-
container:
159-
image: registry.gitlab.com/finestructure/spi-base:46fc194706b255239d764c87f05f825ad9f98303
160-
options: --privileged
161-
steps:
162-
- name: GH Runner bug workaround
163-
run: sysctl -w vm.mmap_rnd_bits=28
164-
- name: Checkout code
165-
uses: actions/checkout@v4
166-
with: { 'fetch-depth': 0 }
167-
- name: Build release
168-
run: swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
169-
170-
# test-macos:
171-
# name: Test macOS
172-
# runs-on: macOS-latest
173-
# services:
174-
# postgres:
175-
# image: postgres:16-alpine
176-
# env:
177-
# POSTGRES_DB: spi_dev
178-
# POSTGRES_USER: spi_dev
179-
# POSTGRES_PASSWORD: xxx
180-
# ports:
181-
# - 5432:5432
182-
# options: >-
183-
# --health-cmd pg_isready
184-
# --health-interval 10s
185-
# --health-timeout 5s
186-
# --health-retries 5
187-
# steps:
188-
# - uses: actions/checkout@v4
189-
# - name: Select Xcode 11.4
190-
# run: sudo xcode-select -s /Applications/Xcode_11.4.app
191-
# - name: Log Xcode version
192-
# run: /usr/bin/xcodebuild -version
193-
# - name: Run tests
194-
# run: make test
195-
# env:
196-
# DATABASE_HOST: postgres
197-
# DATABASE_PORT: 5432

.github/workflows/lint.yml

-35
This file was deleted.

.github/workflows/query-performance.yml

-48
This file was deleted.

.github/workflows/snapshots.yml

-61
This file was deleted.

0 commit comments

Comments
 (0)