From a838b8e825e7dcbc083df79255514d5aa2691e83 Mon Sep 17 00:00:00 2001 From: Aren Elchinyan Date: Thu, 7 Dec 2023 13:19:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B0=D0=B1=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D1=80=D0=BE=D0=B1=D0=B5=D0=BB=D1=8B=20?= =?UTF-8?q?=D0=B2=20YML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 48 +++++++------- .github/workflows/release.yml | 118 +++++++++++++++++----------------- 2 files changed, 83 insertions(+), 83 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9a41a2..34f2978 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,37 +2,37 @@ name: CI BUILD on: push: - branches-ignore: [ "pages" ] + branches-ignore: [ "pages" ] pull_request: - branches-ignore: [ "pages" ] + branches-ignore: [ "pages" ] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: install depends - run: sudo apt install clang-format python3 git gdisk gcc g++ xorriso make mtools curl dos2unix - - - name: install limine - run: | - git clone https://git.synapseos.ru/Aren/limine.git --branch=v5.x-branch-binary --depth=1 - cd limine && make && cd .. + steps: + - uses: actions/checkout@v3 + + - name: install depends + run: sudo apt install clang-format python3 git gdisk gcc g++ xorriso make mtools curl dos2unix + + - name: install limine + run: | + git clone https://git.synapseos.ru/Aren/limine.git --branch=v5.x-branch-binary --depth=1 + cd limine && make && cd .. - - name: build - run: | - dos2unix *.sh - chmod +x build.sh - ./build.sh + - name: build + run: | + dos2unix *.sh + chmod +x build.sh + ./build.sh - - name: check root dir - run: ls -la + - name: check root dir + run: ls -la - - name: check iso_root - run: ls -la iso_root + - name: check iso_root + run: ls -la iso_root - - name: check bin - run: ls -la bin \ No newline at end of file + - name: check bin + run: ls -la bin \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd926e4..440f5a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,74 +2,74 @@ name: release on: workflow_dispatch: - inputs: - test_label: - required: true - type: string + inputs: + test_label: + required: true + type: string jobs: x86_64: - runs-on: ubuntu-latest + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: install depends - run: sudo apt install clang-format python3 git gdisk gcc g++ xorriso make mtools curl dos2unix - - - name: install limine - run: | - git clone https://git.synapseos.ru/Aren/limine.git --branch=v5.x-branch-binary --depth=1 - cd limine && make && cd .. + steps: + - uses: actions/checkout@v4 + + - name: install depends + run: sudo apt install clang-format python3 git gdisk gcc g++ xorriso make mtools curl dos2unix + + - name: install limine + run: | + git clone https://git.synapseos.ru/Aren/limine.git --branch=v5.x-branch-binary --depth=1 + cd limine && make && cd .. - - name: build - run: | - dos2unix *.sh - chmod +x build.sh - ./build.sh + - name: build + run: | + dos2unix *.sh + chmod +x build.sh + ./build.sh - - name: save - run: | - mkdir -p ${{ github.workspace }}/rel - cp ${{ github.workspace }}/kernel.elf ${{ github.workspace }}/rel/ - cp ${{ github.workspace }}/bmosp.hdd ${{ github.workspace }}/rel/ - cp ${{ github.workspace }}/bmosp.iso ${{ github.workspace }}/rel/ - cp ${{ github.workspace }}/LICENSE ${{ github.workspace }}/rel/ + - name: save + run: | + mkdir -p ${{ github.workspace }}/rel + cp ${{ github.workspace }}/kernel.elf ${{ github.workspace }}/rel/ + cp ${{ github.workspace }}/bmosp.hdd ${{ github.workspace }}/rel/ + cp ${{ github.workspace }}/bmosp.iso ${{ github.workspace }}/rel/ + cp ${{ github.workspace }}/LICENSE ${{ github.workspace }}/rel/ - - uses: actions/upload-artifact@v3 - with: - name: bmosp.hdd - path: ${{ github.workspace }}/bmosp.hdd + - uses: actions/upload-artifact@v3 + with: + name: bmosp.hdd + path: ${{ github.workspace }}/bmosp.hdd - - uses: actions/upload-artifact@v3 - with: - name: bmosp.iso - path: ${{ github.workspace }}/bmosp.iso + - uses: actions/upload-artifact@v3 + with: + name: bmosp.iso + path: ${{ github.workspace }}/bmosp.iso - - uses: actions/upload-artifact@v3 - with: - name: kernel.elf - path: ${{ github.workspace }}/kernel.elf + - uses: actions/upload-artifact@v3 + with: + name: kernel.elf + path: ${{ github.workspace }}/kernel.elf - - name: check - run: | - echo ${{ github.workspace }}/rel/ - ls -la ${{ github.workspace }}/rel/ - - - name: release - uses: softprops/action-gh-release@v0.1.15 - with: - name: ${{ inputs.test_label }} - tag_name: autobuild - draft: true - files: | - ${{ github.workspace }}/rel/kernel.elf - ${{ github.workspace }}/rel/bmosp.hdd - ${{ github.workspace }}/rel/bmosp.iso - ${{ github.workspace }}/rel/LICENSE + - name: check + run: | + echo ${{ github.workspace }}/rel/ + ls -la ${{ github.workspace }}/rel/ + + - name: release + uses: softprops/action-gh-release@v0.1.15 + with: + name: ${{ inputs.test_label }} + tag_name: autobuild + draft: true + files: | + ${{ github.workspace }}/rel/kernel.elf + ${{ github.workspace }}/rel/bmosp.hdd + ${{ github.workspace }}/rel/bmosp.iso + ${{ github.workspace }}/rel/LICENSE - body: | - ${{ inputs.test_label }} + body: | + ${{ inputs.test_label }} - Использовать на свой страх и риск. Система расчитана на работу в эмулируемой среде Qemu под процессоры x86_64. - Мы не несем ответственности за нанесенный ущерб. \ No newline at end of file + Использовать на свой страх и риск. Система расчитана на работу в эмулируемой среде Qemu под процессоры x86_64. + Мы не несем ответственности за нанесенный ущерб. \ No newline at end of file