Merge pull request #94 from samansmink/prepare-for-v1.2.0 #129
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
name: Rest | |
on: [push, pull_request, repository_dispatch] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
rest: | |
name: Test against Rest Catalog | |
runs-on: ubuntu-latest | |
env: | |
VCPKG_TARGET_TRIPLET: 'x64-linux' | |
GEN: ninja | |
VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake | |
PIP_BREAK_SYSTEM_PACKAGES: 1 | |
steps: | |
- name: Install required ubuntu packages | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get install -y -qq software-properties-common | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt-get update -y -qq | |
sudo apt-get install -y -qq ninja-build make gcc-multilib g++-multilib libssl-dev wget openjdk-8-jdk zip maven unixodbc-dev libc6-dev-i386 lib32readline6-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip build-essential checkinstall libffi-dev curl libz-dev openssh-client | |
sudo apt-get install -y -qq tar pkg-config | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: 'true' | |
- name: Setup vcpkg | |
uses: lukka/[email protected] | |
with: | |
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574 | |
- name: Build extension | |
env: | |
GEN: ninja | |
STATIC_LIBCPP: 1 | |
run: | | |
make release | |
- name: Start Rest Catalog | |
working-directory: scripts/ | |
run: | | |
./start-rest-catalog.sh |