Build Linux64 curl-engine-branch #4
Workflow file for this run
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: Build Linux64 | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Configure JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Install specific libcurl version | |
run: | | |
# Install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential libssl-dev | |
# Define the version you want to install | |
CURL_VERSION=7.80.0 | |
# Download and extract the source code | |
curl -LO https://curl.se/download/curl-${CURL_VERSION}.tar.gz | |
tar -xzf curl-${CURL_VERSION}.tar.gz | |
cd curl-${CURL_VERSION} | |
# Configure, build, and install | |
./configure | |
make | |
sudo make install | |
# Ensure the new libcurl is used | |
sudo ldconfig | |
- name: Run build | |
run: ./gradlew build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: kotlin-native-arm-build | |
path: sample/build/bin/linuxArm64/releaseExecutable |