Skip to content

update environment variables #43

update environment variables

update environment variables #43

Workflow file for this run

name: Build
on: [push]
jobs:
Build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: brew install autoconf automake bison pkg-config boost libtool
- name: Update environment variables
run: |
echo "/opt/homebrew/opt/bison/bin" >> $GITHUB_PATH
export LDFLAGS="-L/opt/homebrew/opt/bison/lib"
export CFLAGS="-Wno-deprecated-copy-with-user-provided-copy"
export CXXFLAGS="-Wno-deprecated-copy-with-user-provided-copy"
- name: Boostrap
run: ./bootstrap.sh
- name: Configure
run: ./configure
- name: Make
run: |
cd ./compiler/cpp
make
- name: Add executable permission
run: chmod +x ./compiler/cpp/thrift
- name: 'Zip files'
run: zip -j ./thrift.zip ./compiler/cpp/thrift
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: thrift.zip
path: ./thrift.zip