-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update sqlx version to 0.6 (#76)
* feat: update sqlx version to 0.6 * feat: update postgresql * upgrading postgres support * removing old postgres * removed ubuntu support to check error in windows * removed ubuntu support * changed the split-debuginfo type to packed which is supported on windows * feat: add ubuntu, resolve windows split-debuginfo error
- Loading branch information
1 parent
13b1f67
commit 7eb3f44
Showing
2 changed files
with
6 additions
and
3 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 |
---|---|---|
|
@@ -31,6 +31,7 @@ jobs: | |
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get upgrade | ||
sudo apt-get install -y libpq-dev postgresql libmysqlclient-dev mysql-client libsqlite3-dev sqlite3 | ||
echo "host all all 127.0.0.1/32 md5" > sudo tee -a /etc/postgresql/10/main/pg_hba.conf | ||
sudo service postgresql restart && sleep 3 | ||
|
@@ -45,8 +46,10 @@ jobs: | |
if: matrix.os == 'macOS-latest' | ||
run: | | ||
brew update | ||
brew upgrade | ||
brew services start postgresql | ||
brew install [email protected] sqlite | ||
pg_ctl -D /usr/local/var/postgres start | ||
# pg_ctl -D /usr/local/var/postgres start | ||
sleep 3 | ||
createuser casbin_rs | ||
createdb casbin | ||
|
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