Skip to content

Commit 0cce9a5

Browse files
authored
Update ExtensionTemplate.yml
1 parent f3a294f commit 0cce9a5

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

.github/workflows/ExtensionTemplate.yml

+10-26
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
name: Linux
1414
if: ${{ vars.RUN_RENAME_TEST == 'true' || github.repository == 'duckdb/extension-template' }}
1515
runs-on: ubuntu-latest
16-
container: ubuntu:18.04
1716
strategy:
1817
matrix:
1918
# Add commits/tags to build against other DuckDB versions
@@ -28,24 +27,11 @@ jobs:
2827
shell: bash
2928

3029
steps:
31-
- name: Install required ubuntu packages
32-
run: |
33-
apt-get update -y -qq
34-
apt-get install -y -qq software-properties-common
35-
add-apt-repository ppa:git-core/ppa
36-
apt-get update -y -qq
37-
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
38-
39-
- name: Install Git 2.18.5
40-
run: |
41-
wget https://github.com/git/git/archive/refs/tags/v2.18.5.tar.gz
42-
tar xvf v2.18.5.tar.gz
43-
cd git-2.18.5
44-
make
45-
make prefix=/usr install
46-
git --version
30+
- name: Install Ninja
31+
shell: bash
32+
run: sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build
4733

48-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
4935
with:
5036
fetch-depth: 0
5137
submodules: 'true'
@@ -56,12 +42,10 @@ jobs:
5642
cd duckdb
5743
git checkout ${{ matrix.duckdb_version }}
5844
59-
- uses: ./duckdb/.github/actions/ubuntu_18_setup
60-
6145
- name: Setup vcpkg
6246
uses: lukka/[email protected]
6347
with:
64-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
48+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
6549

6650
- name: Rename extension
6751
run: |
@@ -93,7 +77,7 @@ jobs:
9377
shell: bash
9478

9579
steps:
96-
- uses: actions/checkout@v3
80+
- uses: actions/checkout@v4
9781
with:
9882
fetch-depth: 0
9983
submodules: 'true'
@@ -114,7 +98,7 @@ jobs:
11498
- name: Setup vcpkg
11599
uses: lukka/[email protected]
116100
with:
117-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
101+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
118102

119103
- name: Rename extension
120104
run: |
@@ -144,7 +128,7 @@ jobs:
144128
shell: bash
145129

146130
steps:
147-
- uses: actions/checkout@v3
131+
- uses: actions/checkout@v4
148132
with:
149133
fetch-depth: 0
150134
submodules: 'true'
@@ -163,7 +147,7 @@ jobs:
163147
- name: Setup vcpkg
164148
uses: lukka/[email protected]
165149
with:
166-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
150+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
167151

168152
- name: Rename extension
169153
run: |
@@ -175,4 +159,4 @@ jobs:
175159
176160
- name: Test extension
177161
run: |
178-
build/release/test/Release/unittest.exe
162+
build/release/test/Release/unittest.exe

0 commit comments

Comments
 (0)