Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
ci: Switch to MariaDB on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Apr 10, 2022
1 parent 819c7ff commit b094211
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/ci-prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
sudo apt-get install -y software-properties-common
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirrors.bkns.vn/mariadb/repo/10.6/ubuntu focal main'
sudo apt-get update
sudo apt-get install -f mariadb-client
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
go-version: 1.17

- name: Install dependencies for testing
run: "sudo apt-get update && sudo apt-get install -f mariadb-client"
run: "bash ./.github/ci-prepare.sh"

- name: Build
run: "make build_bm build_bmg"
Expand Down

0 comments on commit b094211

Please sign in to comment.