mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-25 01:53:49 +01:00
create windows installer script
This commit is contained in:
parent
2e492dd675
commit
3551edce2c
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
linux-install:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Run script
|
||||
run: ${{ github.workspace }}/./install
|
||||
run: ${{ github.workspace }}/./install.sh
|
||||
|
||||
- name: add to path
|
||||
run: echo "/home/autobuild/tools/win32/bin" >> $GITHUB_PATH
|
||||
@ -36,5 +36,22 @@ jobs:
|
||||
run: |
|
||||
kos32-gcc -v
|
||||
kos32-g++ -v
|
||||
windows-install:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Run script
|
||||
run: ${{ github.workspace }}/install.bat
|
||||
|
||||
- name: add to path
|
||||
run: echo "C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
kos32-gcc -v
|
||||
kos32-g++ -v
|
||||
|
||||
|
||||
|
34
install.bat
Normal file
34
install.bat
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
@echo off
|
||||
|
||||
7z -v
|
||||
|
||||
set TOOLCHAIN_DIR=C:\MinGW\msys\1.0\home\autobuild\tools
|
||||
|
||||
|
||||
cd %TOOLCHAIN_DIR%
|
||||
|
||||
wget http://ftp.kolibrios.org/users/Serge/new/Toolchain/msys-kos32-5.4.0.7z -q -O %TOOLCHAIN_DIR%\kos32-toolchain.7z
|
||||
|
||||
7z x -y kos32-toolchain.7z
|
||||
|
||||
|
||||
cd %TOOLCHAIN_DIR%\win32\mingw32
|
||||
|
||||
wget http://ftp.kolibrios.org/users/Serge/new/Toolchain/sdk-28-10-16.7z -q -O %TOOLCHAIN_DIR%\sdk-28-10-16.7z
|
||||
|
||||
7z x -y sdk-28-10-16.7z
|
||||
|
||||
cd lib
|
||||
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libdll.a -q -O libdll.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libfreetype.a -q -O libfreetype.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libc.dll.a -q -O libc.dll.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libSDLn.a -q -O libSDLn.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libcurses.a -q -O libcurses.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libz.dll.a -q -O libz.dll.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libogg.a -q -O libogg.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libvorbis.a -q -O libvorbis.a
|
||||
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libopenjpeg.a -q -O libopenjpeg.a
|
||||
|
||||
set PATH=%PATH%;%TOOLCHAIN_DIR%%\win32\bin
|
Loading…
Reference in New Issue
Block a user