diff options
author | Harel Ben-Attia <harelba@gmail.com> | 2021-10-20 19:24:38 +0300 |
---|---|---|
committer | Harel Ben-Attia <harelba@gmail.com> | 2021-10-20 19:24:38 +0300 |
commit | fd81dbb032aef693885c9ca7b4f4837b3073e28a (patch) | |
tree | dedbfa25fb043a520d828bf6261be98d4e457a5e | |
parent | 0446e756d88d243571031fb0008eb14ff96c8e25 (diff) |
wip
-rw-r--r-- | .github/workflows/package-and-release.yaml | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/.github/workflows/package-and-release.yaml b/.github/workflows/package-and-release.yaml index a3a47ac..31a4273 100644 --- a/.github/workflows/package-and-release.yaml +++ b/.github/workflows/package-and-release.yaml @@ -33,7 +33,6 @@ jobs: build-linux: runs-on: ubuntu-18.04 - if: ${{ false }} steps: - name: Checkout uses: actions/checkout@v2 @@ -204,7 +203,6 @@ jobs: build-mac: runs-on: macos-11 - if: ${{ false }} steps: - name: Checkout uses: actions/checkout@v2 @@ -245,7 +243,6 @@ jobs: test-mac: needs: build-mac runs-on: macos-11 - if: ${{ false }} steps: - name: Checkout uses: actions/checkout@v2 @@ -276,7 +273,8 @@ jobs: Q_EXECUTABLE=../macos-q bash -x test/test-all package-mac: -# needs: [test-mac, create-man] + # create-man is not needed, as it's generated inside the brew formula independently + needs: [test-mac] runs-on: macos-11 steps: - name: Checkout @@ -321,6 +319,33 @@ jobs: # # git checkout -b new-q-version + test-mac-packaging: + needs: package-mac + runs-on: macos-11 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Download q bottle + uses: actions/download-artifact@v2 + with: + name: q--2.1.0_1.big_sur.bottle.tar.gz + - name: Test the created bottle + run: | + set -x -e + set -o pipefail + + WD=$(pwd) + + pushd /usr/local/Cellar + tar xvfz ${WD}/q--2.1.0_1.big_sur.bottle.tar.gz + popd + + brew link q + + seq 1 100 | q -c 1 "select sum(c1),count(*) from -" -S test.sqlite + + echo 'select sum(c1),count(*) from `-`;' | sqlite3 test.sqlite + build-windows: runs-on: windows-latest if: ${{ false }} |