-
-
Notifications
You must be signed in to change notification settings - Fork 1
v1.0.0-alpha.13 #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v1.0.0-alpha.13 #19
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
814ea15
build(deps): create setup.py
neyunse edbb577
build(deps): update build.py and setup.py
neyunse 66ccb2e
create 1 file and delete 1 file
neyunse 17b343e
ci: update build-multiplatform.yml
neyunse cb3db06
update build-multiplatform.yml, bootstrapper.spec and engine.spec
neyunse 0db0478
update bootstrapper.spec and engine.spec
neyunse 18a6fb0
ci: update build-multiplatform.yml
neyunse eb5b0bc
update bootstrapper.spec, build.py and engine.spec
neyunse 6e0f6d1
ci: update build-multiplatform.yml
neyunse 9ef868a
update bootstrapper.spec, build.py, engine.spec and main.py
neyunse 764e8aa
ci: update build-multiplatform.yml
neyunse 9bbc1f1
ci: update build-multiplatform.yml
neyunse e8ec6c0
chore: update .gitignore
neyunse 352302d
ci: update build-multiplatform.yml
neyunse 4bbd6e9
update build-multiplatform.yml, bootstrapper.spec, build.py and engin…
neyunse c5bee96
update build-multiplatform.yml, build.py and _version.py update build…
neyunse 074b263
ci: update build-multiplatform.yml
neyunse 5468fe0
ci: update build-multiplatform.yml and docs.yml
neyunse 68f547f
ci: update build-multiplatform.yml
neyunse f10b55b
Update build.py
neyunse f3f20e3
Update .github/workflows/build-multiplatform.yml
neyunse 6fbfffe
Update .github/workflows/build-multiplatform.yml
neyunse d37f239
Update .github/workflows/build-multiplatform.yml
neyunse 810729d
Merge pull request #18 from UnSetSoft/gh/neyunse/test
neyunse 601e228
ci: update build-multiplatform.yml
neyunse 52024e1
Update main.py
neyunse 43b999b
Update .github/workflows/build-multiplatform.yml
neyunse b28c2f2
Update .github/workflows/build-multiplatform.yml
neyunse 14fb1a0
update build.py and main.py
neyunse 2ee2e8e
Merge branch 'gh/neyunse/dev' of https://github.com/Neyunse/vne into …
neyunse a6692d2
ci: update build-multiplatform.yml
neyunse ebfb42e
ci: update build-multiplatform.yml
neyunse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| name: Build Multiplatform Engine | ||
|
|
||
| on: | ||
| push: | ||
| branches: [dev] | ||
| pull_request: | ||
| branches: [dev] | ||
| types: [closed] | ||
|
|
||
| permissions: | ||
| contents: write | ||
| id-token: write | ||
|
|
||
|
|
||
| jobs: | ||
| build-windows: | ||
| if: github.event.pull_request.merged == true | ||
| runs-on: windows-2022 | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.10" | ||
| - name: Generate env.py with VNE_KEY | ||
| run: | | ||
| echo "import os" >> ./vne/env.py | ||
| echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> ./vne/env.py | ||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r requirements.txt | ||
| - name: Build engine and bootstrapper | ||
| run: | | ||
| python build.py | ||
| - name: Upload Artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: dist-windows | ||
| path: dist/vne-win.zip | ||
|
|
||
| build-linux: | ||
| runs-on: ubuntu-22.04 | ||
| needs: build-windows | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.10" | ||
| - name: Generate env.py with VNE_KEY | ||
| run: | | ||
| echo "import os" >> ./vne/env.py | ||
| echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> ./vne/env.py | ||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r requirements.txt | ||
| - name: Build engine and bootstrapper | ||
| run: | | ||
| python build.py | ||
| - name: Upload Artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: dist-linux | ||
| path: dist/vne-linux.zip | ||
|
|
||
| # Temporarily disabled | ||
| # build-mac: | ||
| # runs-on: macos-14 | ||
| # needs: build-linux | ||
| # steps: | ||
| # - uses: actions/checkout@v3 | ||
| # - name: Set up Python | ||
| # uses: actions/setup-python@v4 | ||
| # with: | ||
| # python-version: "3.10" | ||
| # - name: Generate env.py with VNE_KEY | ||
| # run: | | ||
| # echo "import os" >> ./vne/env.py | ||
| # echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> ./vne/env.py | ||
| # - name: Install dependencies | ||
| # run: | | ||
| # python -m pip install --upgrade pip | ||
| # pip install -r requirements.txt | ||
| # - name: Build engine and bootstrapper | ||
| # run: | | ||
| # python build.py | ||
| # - name: Upload Artifacts | ||
| # uses: actions/upload-artifact@v4 | ||
| # with: | ||
| # name: dist-mac | ||
| # path: dist/vne-darwin.zip | ||
|
|
||
| create-release: | ||
| runs-on: ubuntu-22.04 | ||
| needs: [build-windows, build-linux] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Extract engine version | ||
| id: get_version | ||
| run: | | ||
| VERSION=$(python -c "import re; f=open('vne/_version.py').read(); print(re.search(r'__version__\s*=\s*[\'\"]([^\'\"]+)[\'\"]', f).group(1))") | ||
| echo "version=$VERSION" >> $GITHUB_OUTPUT | ||
| - name: Create Release | ||
| uses: softprops/action-gh-release@v1 | ||
| with: | ||
| tag_name: ${{ steps.get_version.outputs.version }} | ||
| name: ${{ steps.get_version.outputs.version }} | ||
| body: "Automatic release generated by CI. Important information, the engine is detected by the antivirus and removes the executables. This is because all the libraries are integrated into a single executable and also these executables are not signed. Some distributions such as Linux were not tested!" | ||
| draft: true | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Download artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| path: ./artifacts | ||
| - name: Upload artifacts to the release | ||
| run: | | ||
| for file in ./artifacts/*/*; do | ||
| gh release upload "${{ steps.get_version.outputs.version }}" "$file" --repo "$GITHUB_REPOSITORY" | ||
| done | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "v1.0.0-alpha.12" | ||
| __version__ = "v1.0.0-alpha.13" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.