Skip to content

Commit

Permalink
feat: de-submodule, add .gitmodules temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
sangshuduo committed Jul 27, 2022
1 parent 0251eea commit 40227e4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/non-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,18 @@ jobs:
if: |
github.event_name == 'pull_request' &&
steps.changed-files-specific.outputs.any_changed == 'true'
run: |
echo "The uname output was ${{ steps.setup.outputs.uname }}"
cd TDengine/src/kit/taos-tools
git fetch origin +refs/pull/${{env.PR_NUMBER}}/merge
git checkout -qf FETCH_HEAD
uses: uraimo/run-on-arch-action@v2.1.1
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
run: |
echo "The uname output was ${{ steps.setup.outputs.uname }}"
apt update -y > /dev/null 2>&1
apt install git cmake build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config -y > /dev/null 2>&1
git config --global --add safe.directory /home/runner/work/taos-tools/taos-tools/TDengine/src/kit/taos-tools
cd TDengine/src/kit/taos-tools
git fetch origin +refs/pull/${{env.PR_NUMBER}}/merge
git checkout -qf FETCH_HEAD
- name: Build tdengine
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand All @@ -127,8 +134,8 @@ jobs:
distro: ${{ matrix.distro }}
run: |
echo "The uname output was ${{ steps.setup.outputs.uname }}"
apt update -y
apt install cmake build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config -y
apt update -y > /dev/null 2>&1
apt install git cmake build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config -y > /dev/null 2>&1
cd TDengine
mkdir debug
cd debug
Expand Down
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "deps/avro"]
path = deps/avro
url = https://github.com/apache/avro
[submodule "deps/jansson"]
path = deps/jansson
url = https://github.com/akheron/jansson
[submodule "deps/snappy"]
path = deps/snappy
url = https://github.com/google/snappy

0 comments on commit 40227e4

Please sign in to comment.