Skip to content

Commit

Permalink
- fixing windows build and tagging, removing appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkanpakdil committed May 11, 2024
1 parent 5f44cd9 commit 2823b5e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 27 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
steps:
- name: Generate release tag
id: tag
run: |
TAGNAME=`curl https://ci.appveyor.com/api/projects/ozkanpakdil/big-file-editor|jq -r '.build.buildNumber'`
echo "::set-output name=release_tag::1.0.$TAGNAME"
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Checkout
uses: actions/checkout@v2
- name: Install Qt
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OS X
name: MacOS CI

on:
push:
Expand All @@ -8,15 +8,13 @@ on:
jobs:
qt5:
name: Qt5 build
runs-on: macos-10.15
runs-on: macos-latest
steps:
- name: Set environment variables
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV
- name: Generate release tag
id: tag
run: |
TAGNAME=`curl https://ci.appveyor.com/api/projects/ozkanpakdil/big-file-editor|jq -r '.build.buildNumber'`
echo "::set-output name=release_tag::1.0.$TAGNAME"
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ on: [push]
jobs:
build:
runs-on: windows-latest

steps:
- name: Generate release tag
id: tag
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Checkout code
uses: actions/checkout@v2
- name: Install build tools
run: choco install -y InnoSetup qt5-default visualstudio2022community
run: choco install -y InnoSetup qt5-default make #visualstudio2022buildtools windows-sdk-10.1 VisualCppBuildTools vcredist140
- name: Build
shell: cmd
run: |
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
SET PATH=%PATH%;C:\Qt\5.15.2\mingw81_64\bin;%CACHE_DIR%\jom
SET PATH=%PATH%;C:\Qt\5.15.2\mingw81_64\bin;
qmake big-file-editor.pro
nmake
make
del /q release\*.h release\*.cpp release\*.o
windeployqt release\big-file-editor.exe
Expand All @@ -32,13 +33,11 @@ jobs:
name: setupbigfileeditor
path: setupbigfileeditor.exe

- name: Deploy to GitHub
if: github.ref == 'refs/heads/master'
uses: actions/upload-release-asset@v1
- name: Release with Notes
uses: softprops/action-gh-release@v1
with:
files: |
./setupbigfileeditor.exe
tag_name: ${{ steps.tag.outputs.release_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./setupbigfileeditor.exe
asset_name: setupbigfileeditor.exe
asset_content_type: application/octet-stream
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Windows:[![Build status](https://ci.appveyor.com/api/projects/status/je31oh7roigybhsx?svg=true)](https://ci.appveyor.com/project/ozkanpakdil/big-file-editor)
Linux&OSX:[![Build Status](https://travis-ci.org/ozkanpakdil/big-file-editor.svg?branch=master)](https://travis-ci.org/ozkanpakdil/big-file-editor)
Windows:[![Windows CI](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/windows.yml/badge.svg)](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/windows.yml)
Linux:[![linux build](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/linux.yml/badge.svg)](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/linux.yml)
Macos:[![Macos CI](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/macos.yml/badge.svg)](https://github.com/ozkanpakdil/big-file-editor/actions/workflows/macos.yml)

this project's aim is to help who needs to open up a big/large file (bigger then GB) and
have to browse on it mostly on windows, or you may use it under linux :)
This project's aim is to help who needs to open up a big/large file (more than GB) and help to browse on it.

simple demo from linux machine.
http://youtu.be/nYun58jPUtw

if you want to download compiled version visit
https://github.com/ozkanpakdil/big-file-editor/releases

Implemented Tasks
## Implemented Tasks

- Ctrl+O open a very big/large file.
- mouse wheel and scroll down in the file.
Expand All @@ -21,4 +21,4 @@ Implemented Tasks
- Ctrl+F search in the file.
- Ctrl+Shift+H replace in the file.

How to compile in windows check [here](./.appveyor.yml).
How to compile in windows check [here](./.github/workflows/windows.yml).

0 comments on commit 2823b5e

Please sign in to comment.