Skip to content

Update build.sh

Update build.sh #63

name: Build i686 versions of CodeLite
on:
workflow_dispatch:
push:
branches:
main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
update: true
location: D:\
msystem: mingw32
install: >-
git
openssh
mingw-w64-i686-gdb
mingw-w64-i686-ccache
mingw-w64-i686-llvm
mingw-w64-i686-clang
mingw-w64-i686-clang-tools-extra
mingw-w64-i686-python3
mingw-w64-i686-cmake
mingw-w64-i686-libffi
mingw-w64-i686-libxml2
mingw-w64-i686-zlib
mingw-w64-i686-openssl
mingw-w64-i686-sqlite3
mingw-w64-i686-libssh
mingw-w64-i686-dlfcn
mingw-w64-i686-jq
flex
bison
p7zip
unzip
- name: Build CodeLite
shell: msys2 {0}
id: build
run: ./build.sh
- name: release
id: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.build.outputs.RELEASE_NAME }}
release_name: ${{ steps.build.outputs.RELEASE_NAME }}
body: |
CodeLite ${{ steps.build.outputs.BUILD_DATE }} build.
- name: upload
id: upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ${{ steps.build.outputs.OUTPUT_BINARY }}
asset_name: ${{ steps.build.outputs.OUTPUT_NAME }}
asset_content_type: application/x-7z-compressed