Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(db): add mysql #55

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d3222f3
feat(db): add mysql
dan-online Oct 3, 2024
f6eaddb
ci(docker): add mysql tag
dan-online Oct 3, 2024
5175727
chore(docker): cook with correct features
dan-online Oct 3, 2024
9effdf3
ci: install libmysqlclient
dan-online Oct 3, 2024
5b445b5
chore(docker): install musl tools for mysql
dan-online Oct 3, 2024
c997fa3
chore(docker): link gcc to g++
dan-online Oct 3, 2024
b447079
chore(docker): add libcurses for mysql
dan-online Oct 3, 2024
6fdaa9e
chore(docker): update lists first
dan-online Oct 3, 2024
952d7a6
chore(docker): install libncurses-dev
dan-online Oct 3, 2024
d8500fd
chore(docker): cmake can't find libncurses5
dan-online Oct 3, 2024
08e53c7
chore(docker): add pkg-config
dan-online Oct 3, 2024
eede1ac
chore(docker): add more libraries
dan-online Oct 3, 2024
1f64466
chore(docker): add semicolons
dan-online Oct 3, 2024
bedc5a7
chore(docker): build ncurses
dan-online Oct 3, 2024
648f4a5
chore(docker): build ncurses correctly
dan-online Oct 3, 2024
85b1790
chore(docker): use a link
dan-online Oct 3, 2024
f3c4134
chore(docker): set cc options
dan-online Oct 3, 2024
1a4d6ed
chore(docker): build ncurses to default prefix
dan-online Oct 3, 2024
0d397be
chore(mysql): update code
dan-online Nov 4, 2024
fc33ef0
chore: add mysql build
dan-online Nov 4, 2024
980381a
chore: install musl tools
dan-online Nov 4, 2024
3dfe949
chore: add link
dan-online Nov 4, 2024
1fb268a
chore: remove cross.toml
dan-online Nov 4, 2024
d376773
chore: only use mysql when enabled
dan-online Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pr_number="${{ github.event.number }}"
fi

features=(full postgres sqlite)
features=(full postgres sqlite mysql)
tags=(none arm64)

docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/continuous-delivery-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
- full
- postgres
- sqlite
- mysql
platform:
- name: linux/amd64
target: x86_64-unknown-linux-musl
Expand Down Expand Up @@ -202,4 +203,4 @@ jobs:
context: .
tags: |
danonline/autopulse:${{ steps.tag.outputs.tag }}-${{ matrix.feature }}${{ matrix.platform.tag }}
platforms: ${{ matrix.platform.name }}
platforms: ${{ matrix.platform.name }}
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
toolchain: stable
components: rustfmt, clippy
- name: Install libraries
run: sudo apt install -y libpq-dev libsqlite3-dev # libmysqlclient-dev
run: sudo apt install -y libpq-dev libsqlite3-dev libmysqlclient-dev
- name: Cargo Cache
uses: actions/cache@v4
with:
Expand Down
Loading
Loading